diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5a58641..ca43342 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -20,7 +20,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v4 with: - go-version: 1.20.x + go-version: 1.21.x - name: Prepare release run: | diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 38a26a1..5f9165b 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -15,7 +15,7 @@ jobs: test: strategy: matrix: - go-version: [1.19.x, 1.20.x] + go-version: [1.20.x, 1.21.x] os: [ubuntu-latest] runs-on: ${{ matrix.os }} steps: diff --git a/ci/test.sh b/ci/test.sh index 8e57f4e..0f3fb6b 100755 --- a/ci/test.sh +++ b/ci/test.sh @@ -3,7 +3,7 @@ set -euo pipefail -if [[ $(go version) != *"go1.18"* ]]; then +if [[ $(go version) != *"go1.21"* ]]; then exit 0 fi diff --git a/mockgen/internal/tests/generics/go.mod b/mockgen/internal/tests/generics/go.mod index 0122445..18482fe 100644 --- a/mockgen/internal/tests/generics/go.mod +++ b/mockgen/internal/tests/generics/go.mod @@ -1,6 +1,6 @@ module go.uber.org/mock/mockgen/internal/tests/generics -go 1.19 +go 1.20 require ( go.uber.org/mock v1.6.0 diff --git a/mockgen/internal/tests/typed/go.mod b/mockgen/internal/tests/typed/go.mod index 831bf3b..8cfc50c 100644 --- a/mockgen/internal/tests/typed/go.mod +++ b/mockgen/internal/tests/typed/go.mod @@ -1,6 +1,6 @@ module go.uber.org/mock/mockgen/internal/tests/typed -go 1.18 +go 1.20 replace go.uber.org/mock => ../../../..