Skip to content

Commit 8166156

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

16 files changed

Lines changed: 42 additions & 38 deletions

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

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,25 @@ runs:
44
using: "composite"
55
steps:
66
- name: Install go
7-
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
7+
uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5
88
with:
9-
go-version: "1.25"
109
go-version-file: "go.mod"
1110
cache: true
1211
cache-dependency-path: go.sum
1312
- id: go-cache-paths
1413
shell: bash
1514
run: |
16-
echo "::set-output name=go-build::$(go env GOCACHE)"
17-
echo "::set-output name=go-mod::$(go env GOMODCACHE)"
15+
echo "go-build=$(go env GOCACHE)" >> $GITHUB_OUTPUT
16+
echo "go-mod=$(go env GOMODCACHE)" >> $GITHUB_OUTPUT
1817
- name: Go Mod Cache
19-
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4
18+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
2019
with:
2120
path: ${{ steps.go-cache-paths.outputs.go-mod }}
2221
key: ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }}
2322
restore-keys: |
2423
${{ runner.os }}-go-mod-
2524
- name: Go Build Cache
26-
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4
25+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
2726
with:
2827
path: ${{ steps.go-cache-paths.outputs.go-build }}
2928
key: ${{ runner.os }}-go-build-${{ hashFiles('**/go.sum') }}

.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@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
31+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
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@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
68+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
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@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
19+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
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@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
30+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
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
@@ -16,7 +16,7 @@ jobs:
1616
github_token: ${{ secrets.GITHUB_TOKEN }}
1717

1818
- name: Checkout repository
19-
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
19+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
2020
with:
2121
ref: ${{ github.event.pull_request.head.sha }}
2222

.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@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
21+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
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@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
138+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
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@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
18+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
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@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
18+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
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@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
33+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
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@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
33+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
3434
- name: Coverage result name
3535
id: name
3636
run: |

0 commit comments

Comments
 (0)