Skip to content

Commit

Permalink
Update github actions to test for later go versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Jefftree committed Aug 16, 2024
1 parent 9382876 commit e9f4eff
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,16 @@ on:
branches: [ master ]
jobs:
ci:
strategy:
matrix:
go-version: [ '1.20', '1.21', '1.22', '1.23' ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
go-version: "${{ matrix.go }}"
- name: Build
run: |
go mod tidy && git diff --exit-code
Expand Down

0 comments on commit e9f4eff

Please sign in to comment.