diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index cb3e8dd3e79..c72e6f57f1f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a4e8a3c9bb0..bd04b9712fb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 @@ -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 diff --git a/dependencies.yaml b/dependencies.yaml index bc9482e120b..156219a2735 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -53,13 +53,13 @@ dependencies: match: "GO_MAJOR_VERSION: '\\d+.\\d+'" - name: "golang: 1. (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+ diff --git a/go.mod b/go.mod index 1650919d559..b3f0dfda32b 100644 --- a/go.mod +++ b/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 diff --git a/images/build/go-runner/go.mod b/images/build/go-runner/go.mod index a55dfa6e391..16f0f8b0604 100644 --- a/images/build/go-runner/go.mod +++ b/images/build/go-runner/go.mod @@ -1,3 +1,3 @@ module k8s.io/release/images/build/go-runner -go 1.21 +go 1.22