Skip to content

Commit 2f421be

Browse files
committed
Update actions/checkout and actions/upload-artifact to latest versions; upgrade step-security/harden-runner for improved security
1 parent 2a3fbfe commit 2f421be

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
cancel-in-progress: true
4747

4848
steps:
49-
- uses: actions/checkout@v4
49+
- uses: actions/checkout@v6
5050

5151
- name: Install Linux toolchain
5252
if: runner.os == 'Linux'
@@ -76,7 +76,7 @@ jobs:
7676
run: cmake --build ${{ github.workspace }}/build --preset ${{ matrix.preset }} --config ${{ matrix.build_type }} -j 4
7777

7878
- name: Archive production artifacts
79-
uses: actions/upload-artifact@v4
79+
uses: actions/upload-artifact@v6
8080
with:
8181
name: gemma-${{ matrix.os }}-${{ matrix.preset }}-${{ matrix.build_type }}-${{ matrix.cc || 'default' }}
8282
path: |
@@ -89,7 +89,7 @@ jobs:
8989
runs-on: ubuntu-latest
9090
steps:
9191
- name: Harden Runner
92-
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
92+
uses: step-security/harden-runner@58077d3c7e43986b6b15fba718e8ea69e387dfcc # v2.15.1
9393
with:
9494
egress-policy: audit # cannot be block - runner does git checkout
9595

0 commit comments

Comments
 (0)