Skip to content

Commit 0748f18

Browse files
committed
Clean-up for presubmit
1 parent 2c2b55d commit 0748f18

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

.github/actions/install-deps/action.yaml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,8 @@ runs:
1313
go-version-file: go.mod
1414
check-latest: true
1515
cache-dependency-path: "**/go.sum"
16-
# Root path permission workaround for caching https://github.com/actions/cache/issues/845#issuecomment-1252594999
1716
- run: sudo chown "$USER" /usr/local
1817
shell: bash
19-
- uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
20-
id: cache-toolchain
21-
with:
22-
path: |
23-
/usr/local/kubebuilder/bin
24-
~/go/bin
25-
# Added go version to compensate for this issue with govulncheck: https://github.com/golang/go/issues/65590. Could re-evaluate if this is necessary once the
26-
# upstream go issue is corrected and if this is causing too many cache misses.
27-
key: ${{ runner.os }}-${{ inputs.k8sVersion }}-${{ steps.setup-go.outputs.go-version }}-toolchain-cache-${{ hashFiles('hack/toolchain.sh') }}
2818
- if: ${{ steps.cache-toolchain.outputs.cache-hit != 'true' }}
2919
shell: bash
3020
run: K8S_VERSION=${{ inputs.k8sVersion }} make toolchain

.github/workflows/presubmit.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,13 @@ on:
77
jobs:
88
presubmit:
99
runs-on: ubuntu-latest
10+
strategy:
11+
fail-fast: false
12+
matrix:
13+
k8sVersion: ["1.25.x", "1.26.x", "1.27.x", "1.28.x", "1.29.x", "1.30.x", "1.31.x"]
1014
steps:
1115
- uses: actions/checkout@v4
1216
- uses: ./.github/actions/install-deps
1317
with:
14-
k8sVersion: 1.31
18+
k8sVersion: ${{ matrix.k8sVersion }}
1519
- run: make presubmit

0 commit comments

Comments
 (0)