Skip to content

Commit

Permalink
chore: bump to Go 1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
alnr committed Apr 30, 2024
1 parent f39c81e commit 1964466
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 140 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: 1.19
go-version: "1.21"
- run: make format
- name: Indicate formatting issues
run: git diff HEAD --exit-code --color
2 changes: 1 addition & 1 deletion .github/workflows/licenses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: "1.18"
go-version: "1.21"
- uses: actions/setup-node@v3.6.0
with:
node-version: "18"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: "1.17"
go-version: "1.21"
- run: make test
- name: WriteGoList
run: go list -json -deps ./... > go.list
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,9 @@ jobs:
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: "1.18"
go-version: "1.21"
- name: Test with Docker
run: go test -v ./...
Expand Down
2 changes: 1 addition & 1 deletion dockertest_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ func TestMongo(t *testing.T) {
if err != nil {
return err
}
defer response.Body.Close()

if response.StatusCode != http.StatusOK {
return fmt.Errorf("could not connect to resource")
}
defer response.Body.Close()

return nil
})
Expand Down
14 changes: 6 additions & 8 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,27 +1,28 @@
module github.com/ory/dockertest/v3

go 1.17
go 1.21

require (
github.com/Microsoft/go-winio v0.6.1
github.com/Microsoft/go-winio v0.6.2
github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5
github.com/cenkalti/backoff/v4 v4.2.1
github.com/cenkalti/backoff/v4 v4.3.0
github.com/containerd/continuity v0.4.3
github.com/docker/cli v24.0.9+incompatible
github.com/docker/go-connections v0.5.0
github.com/docker/go-units v0.5.0
github.com/go-sql-driver/mysql v1.7.1
github.com/go-sql-driver/mysql v1.8.1
github.com/lib/pq v1.10.9
github.com/moby/term v0.5.0
github.com/opencontainers/image-spec v1.0.2
github.com/opencontainers/runc v1.1.12
github.com/sirupsen/logrus v1.9.3
github.com/stretchr/testify v1.8.4
github.com/stretchr/testify v1.9.0
golang.org/x/sys v0.19.0
gotest.tools/v3 v3.5.1
)

require (
filippo.io/edwards25519 v1.1.0 // indirect
github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/docker/docker v20.10.27+incompatible // indirect
Expand All @@ -36,9 +37,6 @@ require (
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
golang.org/x/mod v0.17.0 // indirect
golang.org/x/sync v0.7.0 // indirect
golang.org/x/tools v0.20.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
136 changes: 10 additions & 126 deletions go.sum

Large diffs are not rendered by default.

0 comments on commit 1964466

Please sign in to comment.