Skip to content

Commit

Permalink
Bump go from 1.22.0 to 1.22.1 (#292)
Browse files Browse the repository at this point in the history
* Bump go from `1.22.0` to `1.22.1`

This resolves:

- CVE-2024-24783
- CVE-2023-45290
- CVE-2023-45289

See https://go.dev/doc/devel/release#go1.22.1

* Retrieve go version from `go.mod`
  • Loading branch information
JamieMagee authored Mar 5, 2024
1 parent ee39507 commit 8e85cac
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.22
go-version-file: go.mod

- name: Build
run: go build -v ./...
Expand All @@ -33,7 +33,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.22
go-version-file: go.mod

- name: Run go vet
run: go vet ./...
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
# The runner ships with v1.20.14
- uses: actions/setup-go@v5
with:
go-version: '1.22'
go-version-file: go.mod

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
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@v4
- uses: wangyoucao577/[email protected]
with:
goversion: 1.22.0 # needs the patch specified
goversion: go.mod
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@v5
with:
go-version: 1.22
go-version-file: go.mod

# 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.22
go 1.22.1

require (
github.com/MakeNowJust/heredoc v1.0.0
Expand Down

0 comments on commit 8e85cac

Please sign in to comment.