From a5fa29dcdb5bfed3893f000a0362e5b90229b7d2 Mon Sep 17 00:00:00 2001 From: Matthew Rothenberg Date: Wed, 7 Feb 2024 15:28:11 -0500 Subject: [PATCH] chore(ci): set compatibility to go1.22+ --- .github/workflows/test.yml | 7 ++----- go.mod | 4 ++-- 2 files changed, 4 insertions(+), 7 deletions(-) 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