Skip to content

Commit

Permalink
run tests with Go 1.23 on CI
Browse files Browse the repository at this point in the history
and drop 1.21 from CI
  • Loading branch information
rhysd committed Sep 15, 2024
1 parent e246a56 commit 5f82ed2
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest, macos-12]
go: ['1.21', '1.22']
go: ['1.22', '1.23']
runs-on: ${{ matrix.os }}
steps:
- name: Install dependencies on macOS
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22'
go-version: '1.23'
- uses: actions/setup-node@v4
with:
node-version: "lts/*"
Expand All @@ -90,7 +90,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22'
go-version: '1.23'
- run: sudo apt-get install -y shellcheck
- name: Check Go sources are formatted
run: |
Expand All @@ -116,7 +116,7 @@ jobs:
uses: docker/build-push-action@v5
with:
build-args: |
GOLANG_VER=1.22
GOLANG_VER=1.23
push: false
- name: Test Docker image
run: docker container run
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
if: ${{ matrix.language != 'go' }}
- uses: actions/setup-go@v5
with:
go-version: '1.22'
go-version: '1.23'
if: ${{ matrix.language == 'go' }}
- name: Build Go sources
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/generate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22'
go-version: '1.23'
- name: Check new release on GitHub
run: go run ./scripts/generate-popular-actions -d
- run: go generate
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/matcher.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22'
go-version: '1.23'
- uses: actions/setup-node@v4
with:
node-version: "lts/*"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- run: ronn ./man/actionlint.1.ronn
- uses: actions/setup-go@v5
with:
go-version: '1.22'
go-version: '1.23'
- uses: goreleaser/goreleaser-action@v5
with:
version: '~> v1'
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
with:
platforms: linux/amd64,linux/arm64
build-args: |
GOLANG_VER=1.22
GOLANG_VER=1.23
ACTIONLINT_VER=${{ steps.tag.outputs.name }}
push: true
tags: |
Expand Down

0 comments on commit 5f82ed2

Please sign in to comment.