Skip to content

Commit

Permalink
chore(ci): set compatibility to go1.22+
Browse files Browse the repository at this point in the history
  • Loading branch information
mroth committed Feb 7, 2024
1 parent 378f6fb commit a5fa29d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,11 @@ jobs:
strategy:
matrix:
go:
- "1.18"
- "1.19"
- "1.20"
- "1.21"
- "1.22"
name: Go ${{ matrix.go }} test
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- run: go test -race
- run: go test -race .
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/mroth/weightedrand/v2
module github.com/mroth/weightedrand/v3

go 1.18
go 1.22

0 comments on commit a5fa29d

Please sign in to comment.