Skip to content

Commit

Permalink
use Go 1.19 and 1.20 on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysd committed Apr 3, 2023
1 parent cde2a1a commit 5772371
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]
go: ['1.18', '1.19']
go: ['1.19', '1.20']
runs-on: ${{ matrix.os }}
steps:
- name: Install dependencies on macOS
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.19'
go-version: '1.20'
- uses: actions/setup-node@v3
with:
node-version: "lts/*"
Expand All @@ -82,7 +82,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.19'
go-version: '1.20'
- name: Check Go sources are formatted
run: |
diffs="$(gofmt -d ./*.go ./cmd/actionlint/*.go ./scripts/*/*.go ./playground/*.go)"
Expand All @@ -107,7 +107,7 @@ jobs:
uses: docker/build-push-action@v3
with:
build-args: |
GOLANG_VER=1.19
GOLANG_VER=1.20
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@v3
with:
go-version: '1.19'
go-version: '1.20'
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@v3
- uses: actions/setup-go@v3
with:
go-version: '1.19'
go-version: '1.20'
- 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@v3
- uses: actions/setup-go@v3
with:
go-version: '1.19'
go-version: '1.20'
- uses: actions/setup-node@v3
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 @@ -16,7 +16,7 @@ jobs:
- run: ronn ./man/actionlint.1.ronn
- uses: actions/setup-go@v3
with:
go-version: '1.19'
go-version: '1.20'
- uses: goreleaser/goreleaser-action@v2
with:
version: latest
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
with:
platforms: linux/amd64,linux/arm64
build-args: |
GOLANG_VER=1.19
GOLANG_VER=1.20
ACTIONLINT_VER=${{ steps.tag.outputs.name }}
push: true
tags: |
Expand Down

0 comments on commit 5772371

Please sign in to comment.