Skip to content

Commit

Permalink
Merge pull request #397 from jaypipes/update-golang-versions
Browse files Browse the repository at this point in the history
ci: golang: rotate the most 3 recent supported versions
  • Loading branch information
jaypipes authored Jan 28, 2025
2 parents 38f7299 + 753306a commit 81858af
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/fmtcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ jobs:
- name: setup go
uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
with:
go-version: 1.21
go-version: 1.23
- name: check fmt
run: 'bash -c "diff -u <(echo -n) <(gofmt -d .)"'
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: setup go
uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
with:
go-version: 1.21
go-version: 1.23
- name: lint
uses: golangci/golangci-lint-action@aaa42aa0628b4ae2578232a66b541047968fac86 # v6.1.0
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '1.19', '1.20', '1.21']
go: [ '1.21', '1.22', '1.23']
steps:
- name: harden runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
runs-on: windows-2022
strategy:
matrix:
go: [ '1.20', '1.21' ]
go: [ '1.22', '1.23' ]
steps:
- name: harden runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
Expand Down

0 comments on commit 81858af

Please sign in to comment.