Skip to content

Commit fb7ca9f

Browse files
committed
fix: update workflows
Signed-off-by: Jan Schoone <6106846+jschoone@users.noreply.github.com>
1 parent 68d6199 commit fb7ca9f

10 files changed

Lines changed: 12 additions & 31 deletions

.github/actions/setup-go/action.yaml

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,8 @@ runs:
44
using: "composite"
55
steps:
66
- name: Install go
7-
uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5
7+
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
88
with:
99
go-version-file: "go.mod"
1010
cache: true
1111
cache-dependency-path: go.sum
12-
- id: go-cache-paths
13-
shell: bash
14-
run: |
15-
echo "go-build=$(go env GOCACHE)" >> $GITHUB_OUTPUT
16-
echo "go-mod=$(go env GOMODCACHE)" >> $GITHUB_OUTPUT
17-
- name: Go Mod Cache
18-
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
19-
with:
20-
path: ${{ steps.go-cache-paths.outputs.go-mod }}
21-
key: ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }}
22-
restore-keys: |
23-
${{ runner.os }}-go-mod-
24-
- name: Go Build Cache
25-
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
26-
with:
27-
path: ${{ steps.go-cache-paths.outputs.go-build }}
28-
key: ${{ runner.os }}-go-build-${{ hashFiles('**/go.sum') }}
29-
restore-keys: |
30-
${{ runner.os }}-go-build-

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
runs-on: ubuntu-latest
2929
steps:
3030
- name: Checkout code
31-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
31+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3232
with:
3333
fetch-depth: 0
3434
- uses: ./.github/actions/setup-go
@@ -65,7 +65,7 @@ jobs:
6565
6666
# Load Golang cache build from GitHub
6767
- name: Load cso Golang cache build from GitHub
68-
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
68+
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
6969
id: cache
7070
with:
7171
path: /tmp/.cache/cso

.github/workflows/kubebuilder-markers-checker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
name: check for kubebuilder markers
1717
runs-on: ubuntu-24.04
1818
steps:
19-
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
19+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2020

2121
# go is required for building controller-gen
2222
- uses: ./.github/actions/setup-go

.github/workflows/pr-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
password: ${{ secrets.github_token }}
2828
steps:
2929
- name: Checkout repository
30-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
30+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3131
with:
3232
ref: ${{ github.event.pull_request.head.sha }}
3333

.github/workflows/pr-verify.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
echo "PR title is valid: '$TITLE'"
3434
3535
- name: Checkout repository
36-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
36+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3737
with:
3838
ref: ${{ github.event.pull_request.head.sha }}
3939

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Checkout code
21-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
21+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2222
with:
2323
fetch-depth: 0
2424
- uses: ./.github/actions/setup-go
@@ -135,7 +135,7 @@ jobs:
135135
run: echo "RELEASE_TAG=${GITHUB_REF:10}" >> $GITHUB_ENV
136136

137137
- name: checkout code
138-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
138+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
139139
with:
140140
fetch-depth: 0
141141

.github/workflows/schedule-cache-cleaner-cso-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
steps:
1616
# Load Golang cache build from GitHub
1717
- name: Load cso Golang cache build from GitHub
18-
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
18+
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
1919
id: cache
2020
with:
2121
path: /tmp/.cache/cso

.github/workflows/schedule-scan-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
password: ${{ secrets.github_token }}
1616
steps:
1717
- name: Checkout repository
18-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
18+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1919
- name: Fixup git permissions
2020
# https://github.com/actions/checkout/issues/766
2121
shell: bash

.github/workflows/schedule-update-bot.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
runs-on: ubuntu-latest
3131
steps:
3232
- name: Checkout
33-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
33+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3434

3535
- name: Generate Token
3636
uses: actions/create-github-app-token@67018539274d69449ef7c02e8e71183d1719ab42 # v2

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
timeout-minutes: 10
3131
steps:
3232
- name: Checkout repository
33-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
33+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3434
- name: Coverage result name
3535
id: name
3636
run: |

0 commit comments

Comments
 (0)