Skip to content

Commit

Permalink
ci: update to Go 1.23 (#53)
Browse files Browse the repository at this point in the history
* ci: update CI to Go 1.23

* ci: update staticcheck action to v0.5.0
  • Loading branch information
marten-seemann authored Aug 14, 2024
1 parent af5fed8 commit 3be033a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.22.x"
go-version: "1.23.x"
- name: Check for //go:build ignore in .go files
run: |
IGNORED_FILES=$(grep -rl '//go:build ignore' . --include='*.go') || true
Expand Down Expand Up @@ -40,7 +40,7 @@ jobs:
run: go vet ./...
- name: Install staticcheck
if: success() || failure() # run this step even if the previous one failed
run: go install honnef.co/go/tools/cmd/staticcheck@v0.4.7
run: go install honnef.co/go/tools/cmd/staticcheck@v0.5.0
- name: staticcheck
if: success() || failure() # run this step even if the previous one failed
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
fail-fast: false
matrix:
os: [ "ubuntu", "windows", "macos" ]
go: [ "1.21.x", "1.22.x" ]
go: [ "1.22.x", "1.23.x" ]
runs-on: ${{ fromJSON(vars[format('UNIT_RUNNER_{0}', matrix.os)] || format('"{0}-latest"', matrix.os)) }}
name: Unit tests (${{ matrix.os}}, Go ${{ matrix.go }})
steps:
Expand Down

0 comments on commit 3be033a

Please sign in to comment.