Skip to content

Commit 5e9f9d6

Browse files
authored
chore: upgrade golang to 1.21 (#349)
Signed-off-by: Jose I. Paris <[email protected]>
1 parent cabfd43 commit 5e9f9d6

File tree

5 files changed

+74
-9
lines changed

5 files changed

+74
-9
lines changed

.github/workflows/release.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
- name: Set up Go
6262
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
6363
with:
64-
go-version: "1.20"
64+
go-version: "1.21"
6565

6666
- name: Run GoReleaser
6767
id: release

.github/workflows/test.yml

+1-6
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,7 @@ jobs:
2727
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
2828
- uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
2929
with:
30-
# go-version-file: go.mod
31-
# for now pin the verify action to 1.20.5
32-
# due to issue with testcontainers
33-
# https://github.com/golang/go/issues/61431
34-
# https://github.com/testcontainers/testcontainers-go/issues/1359
35-
go-version: "1.20.5"
30+
go-version: "1.21"
3631
cache: true
3732
cache-dependency-path: go.sum
3833

app/controlplane/internal/biz/casbackend_integration_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ func (s *CASBackendIntegrationTestSuite) SetupTest() {
314314
// OCI repository credentials
315315
s.credsWriter = creds.NewReaderWriter(s.T())
316316
s.credsWriter.On(
317-
"SaveCredentials", ctx, mock.Anything, mock.Anything,
317+
"SaveCredentials", mock.Anything, mock.Anything, mock.Anything,
318318
).Return("stored-OCI-secret", nil)
319319

320320
s.TestingUseCases = testhelpers.NewTestingUseCases(s.T(), testhelpers.WithCredsReaderWriter(s.credsWriter))

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/chainloop-dev/chainloop
22

3-
go 1.20
3+
go 1.21
44

55
require (
66
cloud.google.com/go/secretmanager v1.11.1

0 commit comments

Comments
 (0)