Skip to content

Commit

Permalink
Update to go 1.21
Browse files Browse the repository at this point in the history
Updated to go 1.21
Updated min supported version to 1.20
  • Loading branch information
Neo2308 committed Feb 24, 2024
1 parent e649d89 commit 8348e82
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion ci/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

set -euo pipefail

if [[ $(go version) != *"go1.18"* ]]; then
if [[ $(go version) != *"go1.21"* ]]; then
exit 0
fi

Expand Down
2 changes: 1 addition & 1 deletion mockgen/internal/tests/generics/go.mod
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions mockgen/internal/tests/typed/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module go.uber.org/mock/mockgen/internal/tests/typed

go 1.18
go 1.20

replace go.uber.org/mock => ../../../..
replace go.uber.org/mock => ../../../../

require (
go.uber.org/mock v0.0.0-00010101000000-000000000000
Expand Down

0 comments on commit 8348e82

Please sign in to comment.