Merge pull request #17554 from rook/mergify/bp/release-1.20/pr-17549
ci: Update github actions to Go 1.26 (backport #17549)
This commit is contained in:
12 files changed
+16
-16
No files matched your search
@@ -27,7 +27,7 @@ jobs:
|
||||
|
||||
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
||||
with:
|
||||
go-version: "1.25"
|
||||
go-version: "1.26"
|
||||
|
||||
- name: Set up Helm
|
||||
uses: azure/setup-helm@dda3372f752e03dde6b3237bc9431cdc2f7a02a2 # v5.0.0
|
||||
@@ -71,7 +71,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
go-version: ["1.25","1.26"]
|
||||
go-version: ["1.25", "1.26"]
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
|
||||
@@ -36,7 +36,7 @@ jobs:
|
||||
|
||||
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
||||
with:
|
||||
go-version: "1.25"
|
||||
go-version: "1.26"
|
||||
|
||||
- name: run codegen
|
||||
run: GOPATH=$(go env GOPATH) make codegen
|
||||
|
||||
@@ -35,7 +35,7 @@ jobs:
|
||||
|
||||
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
||||
with:
|
||||
go-version: "1.25"
|
||||
go-version: "1.26"
|
||||
|
||||
- name: run crds-gen
|
||||
run: GOPATH=$(go env GOPATH) make crds
|
||||
|
||||
@@ -30,7 +30,7 @@ jobs:
|
||||
|
||||
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
||||
with:
|
||||
go-version: "1.25"
|
||||
go-version: "1.26"
|
||||
|
||||
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
|
||||
with:
|
||||
|
||||
@@ -29,11 +29,11 @@ jobs:
|
||||
fetch-depth: 0
|
||||
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
||||
with:
|
||||
go-version: "1.25"
|
||||
go-version: "1.26"
|
||||
- name: golangci-lint
|
||||
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0
|
||||
with:
|
||||
version: v2.6.2
|
||||
version: v2.12.2
|
||||
# actions/setup-go already handles caching
|
||||
skip-cache: true
|
||||
|
||||
@@ -43,7 +43,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
||||
with:
|
||||
go-version: "1.25"
|
||||
go-version: "1.26"
|
||||
check-latest: true
|
||||
- name: govulncheck
|
||||
uses: golang/govulncheck-action@b625fbe08f3bccbe446d94fbf87fcc875a4f50ee # v1.0.4
|
||||
@@ -62,7 +62,7 @@ jobs:
|
||||
fetch-depth: 0
|
||||
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
||||
with:
|
||||
go-version: "1.25"
|
||||
go-version: "1.26"
|
||||
- name: kube-api-lint
|
||||
run: |
|
||||
# --new: show only new issues introduced in the PR, ignoring existing issues
|
||||
|
||||
@@ -20,7 +20,7 @@ runs:
|
||||
- name: setup golang
|
||||
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
|
||||
with:
|
||||
go-version: "1.25"
|
||||
go-version: "1.26"
|
||||
|
||||
- name: Install cri-dockerd
|
||||
shell: bash --noprofile --norc -eo pipefail -x {0}
|
||||
|
||||
@@ -35,7 +35,7 @@ jobs:
|
||||
|
||||
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
||||
with:
|
||||
go-version: "1.25"
|
||||
go-version: "1.26"
|
||||
|
||||
- name: run mod check
|
||||
run: GOPATH=$(go env GOPATH) make -j $(nproc) mod.check
|
||||
|
||||
@@ -43,7 +43,7 @@ jobs:
|
||||
- name: Set up Go version
|
||||
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
||||
with:
|
||||
go-version: "1.25"
|
||||
go-version: "1.26"
|
||||
|
||||
- name: Create KinD Cluster
|
||||
uses: helm/kind-action@ef37e7f390d99f746eb8b610417061a60e82a6cc # v1.14.0
|
||||
|
||||
@@ -30,7 +30,7 @@ jobs:
|
||||
|
||||
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
||||
with:
|
||||
go-version: "1.25"
|
||||
go-version: "1.26"
|
||||
|
||||
# docker/setup-qemu action installs QEMU static binaries, which are used to run builders for architectures other than the host.
|
||||
- name: set up QEMU
|
||||
|
||||
@@ -35,7 +35,7 @@ jobs:
|
||||
|
||||
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
||||
with:
|
||||
go-version: "1.25"
|
||||
go-version: "1.26"
|
||||
|
||||
- name: run gen-rbac
|
||||
run: GOPATH=$(go env GOPATH) make gen-rbac
|
||||
|
||||
@@ -23,7 +23,7 @@ jobs:
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
||||
with:
|
||||
go-version: "1.25"
|
||||
go-version: "1.26"
|
||||
|
||||
- name: Install Snyk CLI
|
||||
uses: snyk/actions/setup@master
|
||||
|
||||
@@ -43,7 +43,7 @@ jobs:
|
||||
|
||||
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
||||
with:
|
||||
go-version: "1.25"
|
||||
go-version: "1.26"
|
||||
|
||||
- name: Setup jq
|
||||
uses: dcarbone/install-jq-action@b7ef57d46ece78760b4019dbc4080a1ba2a40b45 # v3.2.0
|
||||
|
||||
Reference in new issue
Block a user