diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e50beb9..907a6c7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 . diff --git a/go.mod b/go.mod index 1ed6cf1..dc2b8d2 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ -module github.com/mroth/weightedrand/v2 +module github.com/mroth/weightedrand/v3 -go 1.18 +go 1.22