Skip to content

Commit

Permalink
Bump to go 1.21 (#164)
Browse files Browse the repository at this point in the history
The upstream `moby` bug that triggered the temp pin has been fixed:
* #156
* docker/cli#4437

So no need to pin to specific patch versions anymore.

Update to `go` `1.21` while I was in there.
  • Loading branch information
jeffwidman committed Aug 15, 2023
1 parent 35d5056 commit d263de2
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.20.5
go-version: 1.21

- name: Build
run: go build -v ./...
Expand All @@ -30,7 +30,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.20.5
go-version: 1.21

- name: Run go vet
run: go vet ./...
Expand All @@ -50,7 +50,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.20.5
go-version: 1.21

- name: Run integration tests
run: tests/local
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- uses: actions/checkout@v3
- uses: wangyoucao577/[email protected]
with:
goversion: 1.20.5
goversion: 1.21
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.20.5
go-version: 1.21

# Download the Proxy cache. The job is ideally 100% cached so no real calls are made.
- name: Download cache
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/dependabot/cli

go 1.20
go 1.21

require (
github.com/MakeNowJust/heredoc v1.0.0
Expand Down
2 changes: 1 addition & 1 deletion internal/infra/run_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ func TestRun(t *testing.T) {
}

const dockerFile = `
FROM golang:1.20.5
FROM golang:1.21
# needed to run update-ca-certificates
RUN apt-get update && apt-get install -y ca-certificates
Expand Down

0 comments on commit d263de2

Please sign in to comment.