Skip to content

Commit

Permalink
upgrade to go1.22
Browse files Browse the repository at this point in the history
Signed-off-by: cpanato <ctadeu@gmail.com>
  • Loading branch information
cpanato committed Mar 16, 2024
1 parent d7b7bf3 commit 4fb042f
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Expand Up @@ -17,7 +17,7 @@ jobs:

- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version: '1.21'
go-version: '1.22'
check-latest: true

- name: golangci-lint
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Expand Up @@ -15,7 +15,7 @@ jobs:
steps:
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version: '1.21'
go-version: '1.22'
check-latest: true
- uses: sigstore/cosign-installer@e1523de7571e31dbe865fd2e80c5c7c23ae71eb4 # v3.4.0
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v3.5.2
Expand All @@ -32,7 +32,7 @@ jobs:
uses: goreleaser/goreleaser-action@7ec5c2b0c6cdda6e8bbb49444bc797dd33d74dd8 # v5.0.0
if: "!contains(github.ref, 'refs/tags')"
with:
args: release --clean --snapshot --skip sign
args: release --clean --snapshot --skip=sign
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
Expand Down
4 changes: 2 additions & 2 deletions dependencies.yaml
Expand Up @@ -53,13 +53,13 @@ dependencies:
match: "GO_MAJOR_VERSION: '\\d+.\\d+'"

- name: "golang: 1.<major> (github workflows)"
version: 1.21
version: 1.22
refPaths:
- path: .github/workflows/release.yml
match: "go-version: '\\d+.\\d+'"

- name: "golang: go.mod"
version: 1.21
version: 1.22
refPaths:
- path: go.mod
match: go \d+.\d+
Expand Down
2 changes: 1 addition & 1 deletion go.mod
@@ -1,6 +1,6 @@
module k8s.io/release

go 1.21
go 1.22

require (
cloud.google.com/go/storage v1.33.0
Expand Down
2 changes: 1 addition & 1 deletion images/build/go-runner/go.mod
@@ -1,3 +1,3 @@
module k8s.io/release/images/build/go-runner

go 1.21
go 1.22

0 comments on commit 4fb042f

Please sign in to comment.