Skip to content

Commit

Permalink
ci: use Go 1.19
Browse files Browse the repository at this point in the history
The master branch supports the latest released version of Go. We cut a
new release of Staticcheck when the next version of Go releases, at
which point that release will support 1.19 and 1.20.

All that is to say that the master branch doesn't care about Go 1.18.
  • Loading branch information
dominikh committed Jan 26, 2023
1 parent 52a0144 commit 7b85197
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
fail-fast: false
matrix:
os: ["windows-latest", "ubuntu-latest", "macOS-latest"]
go: ["1.18.x"]
go: ["1.19.x"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
Expand Down Expand Up @@ -40,7 +40,7 @@ jobs:
steps:
- uses: WillAbides/setup-go-faster@v1.7.0
with:
go-version: "1.18.x"
go-version: "1.19.x"
# this downloads all artifacts of the current workflow into the current working directory, creating one directory per artifact
- uses: actions/download-artifact@v3
- id: glob
Expand All @@ -51,6 +51,6 @@ jobs:
- uses: dominikh/staticcheck-action@9f77055cca7bfaafb836cbd6720865187f5fbf51
with:
version: "3d6c86f0908ab82d6ff280219e2968ee65f83b2e"
min-go-version: "1.17"
min-go-version: "1.19"
install-go: false
merge-files: ${{ steps.glob.outputs.files }}

0 comments on commit 7b85197

Please sign in to comment.