Skip to content

Commit

Permalink
bump to go1.20 (actatum#12)
Browse files Browse the repository at this point in the history
* bump to go1.20

* update test matrix to use latest two go versions

* fix lint errors

* fix lint errors
  • Loading branch information
actatum authored Mar 9, 2023
1 parent 8dfd111 commit e3f6b48
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/actions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
test:
strategy:
matrix:
go-version: [1.18.x, 1.19.x]
go-version: [1.19.x, 1.20.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
test:
strategy:
matrix:
go-version: [1.18.x, 1.19.x]
go-version: [1.19.x, 1.20.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
Expand Down
1 change: 0 additions & 1 deletion client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ func TestNewClient(t *testing.T) {
func TestClient_Do(t *testing.T) {
t.Parallel()

rand.Seed(time.Now().UnixNano())
ns, err := server.NewServer(&server.Options{
Port: 41397,
})
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/actatum/stormrpc

go 1.18
go 1.20

require (
github.com/google/uuid v1.3.0
Expand Down
1 change: 0 additions & 1 deletion server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ func TestServer_RunAndShutdown(t *testing.T) {
}

func TestServer_handler(t *testing.T) {
rand.Seed(time.Now().UnixNano())
ns, err := server.NewServer(&server.Options{
Port: 40897,
})
Expand Down

0 comments on commit e3f6b48

Please sign in to comment.