Skip to content

Commit

Permalink
update workflow to test more go versions
Browse files Browse the repository at this point in the history
  • Loading branch information
LordNoteworthy committed Oct 30, 2024
1 parent 8bd10b7 commit 1ce03d0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ jobs:
strategy:
fail-fast: false
matrix:
go-version: [1.16.x, 1.17.x, 1.18.x, 1.19.x]
go-version: [1.16.x, 1.17.x, 1.18.x, 1.19.x, 1.20.x, 1.21.x]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}

Expand Down Expand Up @@ -45,9 +45,9 @@ jobs:
if: matrix.os == 'windows-latest' && matrix.go-version == '1.19.x'

- name: Staticcheck
uses: dominikh/[email protected].0
uses: dominikh/[email protected].1
with:
version: "2022.1"
version: "2024.1"
install-go: false
cache-key: ${{ matrix.go }}
if: matrix.os == 'windows-latest' && matrix.go-version == '1.19.x'

0 comments on commit 1ce03d0

Please sign in to comment.