Skip to content

Commit fe1dae8

Browse files
committed
.github/workflows: pin GitHub action versions
Pin versions of GitHub actions that are used in our workflows. Bump actions/checkout to latest 4.x from 3.x. Updates #cleanup Signed-off-by: Mario Minardi <[email protected]>
1 parent 0e49593 commit fe1dae8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
container: golang:1.22
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v3
14+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1515

1616
- name: Get cache paths
1717
id: cache
@@ -20,7 +20,7 @@ jobs:
2020
echo "module=$(go env GOMODCACHE)" | tee -a $GITHUB_OUTPUT
2121
2222
- name: Set up cache
23-
uses: actions/cache@v4
23+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
2424
with:
2525
path: |
2626
${{ steps.cache.outputs.build }}
@@ -36,6 +36,6 @@ jobs:
3636
runs-on: ubuntu-latest
3737
steps:
3838
- name: checkout
39-
uses: actions/checkout@v4
39+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4040
- name: check licenses
4141
run: ./scripts/check_license_headers.sh .

0 commit comments

Comments
 (0)