Skip to content

Commit

Permalink
Updates Go toolchain and github workflows to go1.24.1 (#286)
Browse files Browse the repository at this point in the history
The version 1.24.1 solves vulnerabilities that are being detected by {
govulncheck`. The base go version in `go.mod` was left unchanged, but
the toolchain was updated with `go get [email protected]` as pointed out
in the toolchain documentation (currently https://go.dev/doc/toolchain)

The gitlab workflows were also updated.
  • Loading branch information
eric-reis committed Nov 14, 2023
1 parent e5eae9c commit cb2c0a8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.21.3
go-version: 1.21.4
- name: Build
run: go build -v ./...

Expand All @@ -32,7 +32,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.21.3
go-version: 1.21.4
- name: Test
run: go test -v ./...

Expand All @@ -43,6 +43,6 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.21.3
go-version: 1.21.4
- name: Vet
run: go vet ./...
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
steps:
- uses: actions/setup-go@v4
with:
go-version: 1.21.3
go-version: 1.21.4
- uses: actions/checkout@v4
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/govulcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ jobs:
- id: govulncheck
uses: golang/govulncheck-action@v1
with:
go-version-input: 1.21.3
go-version-input: 1.21.4
go-package: ./...
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/arquivei/foundationkit

go 1.21

toolchain go1.21.3
toolchain go1.21.4

require (
cloud.google.com/go/logging v1.8.1
Expand Down

0 comments on commit cb2c0a8

Please sign in to comment.