ci: lock workflow actions through an actions.lock lockfile

Mutable action tags are a supply-chain risk: a moved tag runs different code
without a diff. Every workflow action is now pinned through
.github/workflows/actions.lock, and CI verifies the lockfile so an out-of-sync
or tampered one fails instead of running.
This commit is contained in:
Dylan M. Taylor committed 2026-11-12 10:04:46 -05:00
1 parent faa2876b9f
commit 0965b68bdc
17 files changed
+310 -77

No files matched your search

+199
View File
@@ -0,0 +1,199 @@
# This file is machine-generated by `gh actions-lock`.
# Do not edit by hand; run `gh actions-lock` to update.
# Docs: https://gh.io/actions-lockfile
version: 'v0.0.3'
workflows:
'.github/workflows/cache_cleanup.yml':
- 'step-security/harden-runner@v2.22.4'
'.github/workflows/cargo_shear.yml':
- 'actions/checkout@v4.4.0'
- 'step-security/harden-runner@v2.22.4'
- 'step-security/taiki-e-install-action@v2.87.32'
'.github/workflows/deploy_web_demo.yml':
- 'actions/checkout@v3.7.0'
- 'sigoden/install-binary@v1.3.0'
- 'step-security/actions-rs-toolchain@v1.0.7'
- 'step-security/github-pages-deploy-action@v4.9.0'
- 'step-security/harden-runner@v2.22.4'
- 'step-security/rust-cache@v2.9.2'
'.github/workflows/enforce_branch_name.yml':
- 'actions/github-script@v6.4.1'
- 'step-security/harden-runner@v2.22.4'
'.github/workflows/labels.yml':
- 'step-security/github-action-required-labels@v5.6.0'
- 'step-security/harden-runner@v2.22.4'
'.github/workflows/link_checker.yml':
- 'actions/checkout@v4.4.0'
- 'lycheeverse/lychee-action@v2.9.0'
- 'step-security/harden-runner@v2.22.4'
'.github/workflows/lockfile.yml':
- 'actions/checkout@v7.0.1'
- 'step-security/harden-runner@v2.22.4'
'.github/workflows/png_only_on_lfs.yml':
- 'actions/checkout@v2.8.0'
- 'step-security/harden-runner@v2.22.4'
'.github/workflows/preview_build.yml':
- 'actions/checkout@v4.4.0'
- 'actions/upload-artifact@v4.6.2'
- 'sigoden/install-binary@v1.3.0'
- 'step-security/dtolnay-rust-toolchain@v1.0.0'
- 'step-security/harden-runner@v2.22.4'
- 'step-security/rust-cache@v2.9.2'
'.github/workflows/preview_cleanup.yml':
- 'actions/checkout@v4.4.0'
- 'step-security/github-pages-deploy-action@v4.9.0'
- 'step-security/harden-runner@v2.22.4'
'.github/workflows/preview_comment.yml':
- 'step-security/actions-comment-pull-request@v3.0.2'
- 'step-security/harden-runner@v2.22.4'
'.github/workflows/preview_deploy.yml':
- 'actions/checkout@v4.4.0'
- 'actions/download-artifact@v4.3.0'
- 'step-security/actions-comment-pull-request@v3.0.2'
- 'step-security/github-pages-deploy-action@v4.9.0'
- 'step-security/harden-runner@v2.22.4'
'.github/workflows/rust.yml':
- 'actions/checkout@v4.4.0'
- 'actions/upload-artifact@v4'
- 'awalsh128/cache-apt-pkgs-action@v1.4.3'
- 'embarkstudios/cargo-deny-action@v2.1.1'
- 'jetli/wasm-bindgen-action@v0.1.0'
- 'step-security/dtolnay-rust-toolchain@v1.0.0'
- 'step-security/harden-runner@v2.22.4'
- 'step-security/rust-cache@v2.9.2'
'.github/workflows/taplo.yml':
- 'actions/checkout@v4.4.0'
- 'step-security/harden-runner@v2.22.4'
- 'step-security/taiki-e-install-action@v2.87.32'
'.github/workflows/typos.yml':
- 'actions/checkout@v4.4.0'
- 'crate-ci/typos@v1.38.0'
- 'step-security/harden-runner@v2.22.4'
'.github/workflows/update_kittest_snapshots.yml':
- 'actions/checkout@v4.4.0'
- 'step-security/git-auto-commit-action@v6.0.2'
- 'step-security/harden-runner@v2.22.4'
dependencies:
'actions/cache@v4':
ref: 'v4'
commit: 'sha1-0057852bfaa89a56745cba8c7296529d2fc39830'
owner_id: 44036562
repo_id: 215566462
'actions/checkout@v2.8.0':
ref: 'v2.8.0'
commit: 'sha1-0717577d45739eb3c851188b29f50ed6c0b2194e'
owner_id: 44036562
repo_id: 197814629
'actions/checkout@v3.7.0':
ref: 'v3.7.0'
commit: 'sha1-a37ce9120846195fa4ece8f58b268e6043cb2f26'
owner_id: 44036562
repo_id: 197814629
'actions/checkout@v4.4.0':
ref: 'v4.4.0'
commit: 'sha1-11d5960a326750d5838078e36cf38b85af677262'
owner_id: 44036562
repo_id: 197814629
'actions/checkout@v7.0.1':
ref: 'v7.0.1'
commit: 'sha1-3d3c42e5aac5ba805825da76410c181273ba90b1'
owner_id: 44036562
repo_id: 197814629
'actions/download-artifact@v4.3.0':
ref: 'v4.3.0'
commit: 'sha1-d3f86a106a0bac45b974a628896c90dbdf5c8093'
owner_id: 44036562
repo_id: 192626254
'actions/github-script@v6.4.1':
ref: 'v6.4.1'
commit: 'sha1-d7906e4ad0b1822421a7e6a35d5ca353c962f410'
owner_id: 44036562
repo_id: 205262760
'actions/upload-artifact@v4':
ref: 'v4'
commit: 'sha1-ea165f8d65b6e75b540449e92b4886f43607fa02'
owner_id: 44036562
repo_id: 192625955
'actions/upload-artifact@v4.6.2':
ref: 'v4.6.2'
commit: 'sha1-ea165f8d65b6e75b540449e92b4886f43607fa02'
owner_id: 44036562
repo_id: 192625955
'awalsh128/cache-apt-pkgs-action@v1.4.3':
ref: 'v1.4.3'
commit: 'sha1-5902b33ae29014e6ca012c5d8025d4346556bd40'
owner_id: 2087466
repo_id: 408212054
uses:
- 'actions/cache@v4'
- 'actions/upload-artifact@v4'
'crate-ci/typos@v1.38.0':
ref: 'v1.38.0'
commit: 'sha1-83157de2df0fa7c7ae20f73f9dbed44c41f2bb64'
owner_id: 36412122
repo_id: 181782286
'embarkstudios/cargo-deny-action@v2.1.1':
ref: 'v2.1.1'
commit: 'sha1-3c6349835b2b7b196a839186cb8b78e02f7b5f25'
owner_id: 44887257
repo_id: 228054692
'jetli/wasm-bindgen-action@v0.1.0':
ref: 'v0.1.0'
commit: 'sha1-370ddd977537b33f15fd1241476a90a1254dfdae'
owner_id: 1142758
repo_id: 306516921
'lycheeverse/lychee-action@v2.9.0':
ref: 'v2.9.0'
commit: 'sha1-e7477775783ea5526144ba13e8db5eec57747ce8'
owner_id: 74027027
repo_id: 320929718
'sigoden/install-binary@v1.3.0':
ref: 'v1.3.0'
commit: 'sha1-bea43f0d6192f38559f1850838d1fd7801f546d7'
owner_id: 4012553
repo_id: 803685810
'step-security/actions-comment-pull-request@v3.0.2':
ref: 'v3.0.2'
commit: 'sha1-60cd38988a354b2d22b47612fb02a20e822d6048'
owner_id: 88700172
repo_id: 1058483114
'step-security/actions-rs-toolchain@v1.0.7':
ref: 'v1.0.7'
commit: 'sha1-40a2f87e50bed6faa2d050e99810b226b75d8c8a'
owner_id: 88700172
repo_id: 1153459423
'step-security/dtolnay-rust-toolchain@v1.0.0':
ref: 'v1.0.0'
commit: 'sha1-8dd607977d06adf4ed49b190381e74c17a9dd25f'
owner_id: 88700172
repo_id: 1249865941
'step-security/git-auto-commit-action@v6.0.2':
ref: 'v6.0.2'
commit: 'sha1-e2d505468267a3cb406af729d48d664de1f16393'
owner_id: 88700172
repo_id: 970549095
'step-security/github-action-required-labels@v5.6.0':
ref: 'v5.6.0'
commit: 'sha1-7531212c96acadbb59d70313e686dfe4d539c3e8'
owner_id: 88700172
repo_id: 1306317881
'step-security/github-pages-deploy-action@v4.9.0':
ref: 'v4.9.0'
commit: 'sha1-fe9e6f669019bdc4519d0fe69013b428268eb30c'
owner_id: 88700172
repo_id: 1379826492
'step-security/harden-runner@v2.22.4':
ref: 'v2.22.4'
commit: 'sha1-1d88384fd173af6ecb012dfd0264a306b711241a'
owner_id: 88700172
repo_id: 422287306
'step-security/rust-cache@v2.9.2':
ref: 'v2.9.2'
commit: 'sha1-8871c8ba063416da7c32246932ea6ae08700453e'
owner_id: 88700172
repo_id: 822636713
'step-security/taiki-e-install-action@v2.87.32':
ref: 'v2.87.32'
commit: 'sha1-76747d22a7567cc4438546a84f11bdf18e670ab8'
owner_id: 88700172
repo_id: 1382753260
+1 -1
View File
@@ -20,7 +20,7 @@ jobs:
timeout-minutes: 10
steps:
- name: Harden runner
uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
uses: step-security/harden-runner@v2.22.4
with:
egress-policy: audit
- name: Delete caches
+3 -3
View File
@@ -13,14 +13,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Harden runner
uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
uses: step-security/harden-runner@v2.22.4
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v4.4.0
- name: Install Cargo Shear
uses: step-security/taiki-e-install-action@76747d22a7567cc4438546a84f11bdf18e670ab8 # v2.87.32
uses: step-security/taiki-e-install-action@v2.87.32
with:
tool: cargo-shear@1.11.2
+6 -6
View File
@@ -32,25 +32,25 @@ jobs:
timeout-minutes: 60
steps:
- name: Harden runner
uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
uses: step-security/harden-runner@v2.22.4
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v3.7.0
- uses: step-security/actions-rs-toolchain@40a2f87e50bed6faa2d050e99810b226b75d8c8a # v1.0.7
- uses: step-security/actions-rs-toolchain@v1.0.7
with:
profile: minimal
target: wasm32-unknown-unknown
toolchain: 1.95.0
override: true
- uses: step-security/rust-cache@8871c8ba063416da7c32246932ea6ae08700453e # v2.9.2
- uses: step-security/rust-cache@v2.9.2
with:
prefix-key: "web-demo-"
- name: Install wasm-opt
uses: sigoden/install-binary@v1
uses: sigoden/install-binary@v1.3.0
with:
repo: WebAssembly/binaryen
tag: version_123
@@ -60,7 +60,7 @@ jobs:
scripts/build_demo_web.sh --release
- name: Deploy
uses: step-security/github-pages-deploy-action@fe9e6f669019bdc4519d0fe69013b428268eb30c # v4.9.0
uses: step-security/github-pages-deploy-action@v4.9.0
with:
folder: web_demo
# this option will not maintain any history of your previous pages deployment
+2 -2
View File
@@ -13,7 +13,7 @@ jobs:
timeout-minutes: 10
steps:
- name: Harden runner
uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
uses: step-security/harden-runner@v2.22.4
with:
egress-policy: audit
- name: Check PR source branch
@@ -33,7 +33,7 @@ jobs:
- name: Leave comment if PR is from master/main branch of fork d
if: ${{ failure() }}
uses: actions/github-script@v6
uses: actions/github-script@v6.4.1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
+3 -3
View File
@@ -19,18 +19,18 @@ jobs:
timeout-minutes: 10
steps:
- name: Harden runner
uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
uses: step-security/harden-runner@v2.22.4
with:
egress-policy: audit
- name: Check for a "do-not-merge" label
uses: step-security/github-action-required-labels@7531212c96acadbb59d70313e686dfe4d539c3e8 # v5.6.0
uses: step-security/github-action-required-labels@v5.6.0
with:
mode: exactly
count: 0
labels: "do-not-merge"
- name: Require at least one label
uses: step-security/github-action-required-labels@7531212c96acadbb59d70313e686dfe4d539c3e8 # v5.6.0
uses: step-security/github-action-required-labels@v5.6.0
with:
mode: minimum
count: 1
+3 -3
View File
@@ -9,10 +9,10 @@ jobs:
timeout-minutes: 30
steps:
- name: Harden runner
uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
uses: step-security/harden-runner@v2.22.4
with:
egress-policy: audit
- uses: actions/checkout@v4
- uses: actions/checkout@v4.4.0
- name: Don't check CHANGELOG.md files
# This is really stupid but lychee doesn't have a way of excluding files via GLOB:
# https://github.com/lycheeverse/lychee/issues/1608
@@ -21,6 +21,6 @@ jobs:
# to change their username.
run: rm -r */**/CHANGELOG.md CHANGELOG.md
- name: Link Checker
uses: lycheeverse/lychee-action@v2
uses: lycheeverse/lychee-action@v2.9.0
with:
args: "'**/*.md' '**/*.toml' --exclude localhost --exclude reddit.com" # I guess reddit doesn't like github action IPs
+34
View File
@@ -0,0 +1,34 @@
name: Lockfile
# Fails when .github/workflows/actions.lock is out of sync with the workflows, or when a locked pin
# no longer verifies upstream, so a moved tag cannot slip a different commit into a run.
# Docs: https://gh.io/actions-lockfile
on:
pull_request:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
env:
GH_TOKEN: ${{ github.token }}
jobs:
lockfile:
name: Lockfile is in sync
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- name: Harden runner
uses: step-security/harden-runner@v2.22.4
with:
egress-policy: audit
- uses: actions/checkout@v7.0.1
with:
persist-credentials: false
- name: Install gh-actions-lock
run: gh extension install github/gh-actions-lock --pin v0.4.1
- name: Verify the lockfile
run: gh actions-lock --verify
+2 -2
View File
@@ -14,11 +14,11 @@ jobs:
steps:
- name: Harden runner
uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
uses: step-security/harden-runner@v2.22.4
with:
egress-policy: audit
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v2.8.0
- name: Check that png files are on git LFS
run: |
+7 -7
View File
@@ -18,20 +18,20 @@ jobs:
timeout-minutes: 60
steps:
- name: Harden runner
uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
uses: step-security/harden-runner@v2.22.4
with:
egress-policy: audit
- uses: actions/checkout@v4
- uses: step-security/dtolnay-rust-toolchain@8dd607977d06adf4ed49b190381e74c17a9dd25f # v1.0.0
- uses: actions/checkout@v4.4.0
- uses: step-security/dtolnay-rust-toolchain@v1.0.0
with:
toolchain: 1.95.0
targets: wasm32-unknown-unknown
- uses: step-security/rust-cache@8871c8ba063416da7c32246932ea6ae08700453e # v2.9.2
- uses: step-security/rust-cache@v2.9.2
with:
prefix-key: "pr-preview-"
- name: Install wasm-opt
uses: sigoden/install-binary@v1
uses: sigoden/install-binary@v1.3.0
with:
repo: WebAssembly/binaryen
tag: version_123
@@ -45,7 +45,7 @@ jobs:
run: |
rm -rf web_demo/.gitignore
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v4.6.2
with:
name: web_demo
path: web_demo
@@ -59,7 +59,7 @@ jobs:
URL_SLUG=$(echo $URL_SLUG | tr -cd '[:alnum:]-')
echo "{\"pr_number\": \"$PR_NUMBER\", \"url_slug\": \"$URL_SLUG\"}" > meta.json
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v4.6.2
with:
name: meta.json
path: meta.json
+3 -3
View File
@@ -14,11 +14,11 @@ jobs:
timeout-minutes: 10
steps:
- name: Harden runner
uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
uses: step-security/harden-runner@v2.22.4
with:
egress-policy: audit
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v4.4.0
- run: mkdir -p empty_dir
- name: Generate URL_SLUG
env:
@@ -29,7 +29,7 @@ jobs:
URL_SLUG=$(echo $URL_SLUG | tr -cd '[:alnum:]-')
echo "URL_SLUG=$URL_SLUG" >> $GITHUB_ENV
- name: Deploy
uses: step-security/github-pages-deploy-action@fe9e6f669019bdc4519d0fe69013b428268eb30c # v4.9.0
uses: step-security/github-pages-deploy-action@v4.9.0
with:
folder: empty_dir
repository-name: egui-pr-preview/pr
+2 -2
View File
@@ -9,11 +9,11 @@ jobs:
timeout-minutes: 60
steps:
- name: Harden runner
uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
uses: step-security/harden-runner@v2.22.4
with:
egress-policy: audit
- name: Comment PR
uses: step-security/actions-comment-pull-request@60cd38988a354b2d22b47612fb02a20e822d6048 # v3.0.2
uses: step-security/actions-comment-pull-request@v3.0.2
env:
URL_SLUG: ${{ github.event.number }}-${{ github.head_ref }}
with:
+6 -6
View File
@@ -23,20 +23,20 @@ jobs:
timeout-minutes: 10
steps:
- name: Harden runner
uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
uses: step-security/harden-runner@v2.22.4
with:
egress-policy: audit
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v4.4.0
- name: 'Download build artifact'
uses: actions/download-artifact@v4
uses: actions/download-artifact@v4.3.0
with:
name: web_demo
path: web_demo_artifact
github-token: ${{ secrets.GITHUB_TOKEN }}
run-id: ${{ github.event.workflow_run.id }}
- name: 'Download build meta'
uses: actions/download-artifact@v4
uses: actions/download-artifact@v4.3.0
with:
name: meta.json
github-token: ${{ secrets.GITHUB_TOKEN }}
@@ -48,7 +48,7 @@ jobs:
echo "URL_SLUG=$(jq -r .url_slug meta.json)" >> $GITHUB_ENV
- name: Deploy
uses: step-security/github-pages-deploy-action@fe9e6f669019bdc4519d0fe69013b428268eb30c # v4.9.0
uses: step-security/github-pages-deploy-action@v4.9.0
with:
folder: web_demo_artifact
repository-name: egui-pr-preview/pr
@@ -60,7 +60,7 @@ jobs:
single-commit: true
- name: Comment PR
uses: step-security/actions-comment-pull-request@60cd38988a354b2d22b47612fb02a20e822d6048 # v3.0.2
uses: step-security/actions-comment-pull-request@v3.0.2
with:
message: |
Preview available at https://egui-pr-preview.github.io/pr/${{ env.URL_SLUG }}
+31 -31
View File
@@ -19,14 +19,14 @@ jobs:
timeout-minutes: 60
steps:
- name: Harden runner
uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
uses: step-security/harden-runner@v2.22.4
with:
egress-policy: audit
- uses: actions/checkout@v4
- uses: actions/checkout@v4.4.0
with:
lfs: true
- uses: step-security/dtolnay-rust-toolchain@8dd607977d06adf4ed49b190381e74c17a9dd25f # v1.0.0
- uses: step-security/dtolnay-rust-toolchain@v1.0.0
with:
toolchain: 1.95.0
@@ -39,7 +39,7 @@ jobs:
execute_install_scripts: true
- name: Set up cargo cache
uses: step-security/rust-cache@8871c8ba063416da7c32246932ea6ae08700453e # v2.9.2
uses: step-security/rust-cache@v2.9.2
with:
# Only `main` writes to the cache, so PR caches can't evict it (10 GB repository limit).
save-if: ${{ github.ref == 'refs/heads/main' }}
@@ -84,11 +84,11 @@ jobs:
timeout-minutes: 60
steps:
- name: Harden runner
uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
uses: step-security/harden-runner@v2.22.4
with:
egress-policy: audit
- uses: actions/checkout@v4
- uses: step-security/dtolnay-rust-toolchain@8dd607977d06adf4ed49b190381e74c17a9dd25f # v1.0.0
- uses: actions/checkout@v4.4.0
- uses: step-security/dtolnay-rust-toolchain@v1.0.0
with:
toolchain: 1.95.0
targets: wasm32-unknown-unknown
@@ -96,7 +96,7 @@ jobs:
- run: sudo apt-get update && sudo apt-get install libgtk-3-dev libatk1.0-dev
- name: Set up cargo cache
uses: step-security/rust-cache@8871c8ba063416da7c32246932ea6ae08700453e # v2.9.2
uses: step-security/rust-cache@v2.9.2
with:
# Only `main` writes to the cache, so PR caches can't evict it (10 GB repository limit).
save-if: ${{ github.ref == 'refs/heads/main' }}
@@ -131,18 +131,18 @@ jobs:
timeout-minutes: 60
steps:
- name: Harden runner
uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
uses: step-security/harden-runner@v2.22.4
with:
egress-policy: audit
- uses: actions/checkout@v4
- uses: actions/checkout@v4.4.0
- run: sudo apt-get update && sudo apt-get install libgtk-3-dev libatk1.0-dev
- name: Set up cargo cache
uses: step-security/rust-cache@8871c8ba063416da7c32246932ea6ae08700453e # v2.9.2
uses: step-security/rust-cache@v2.9.2
with:
# Only `main` writes to the cache, so PR caches can't evict it (10 GB repository limit).
save-if: ${{ github.ref == 'refs/heads/main' }}
- uses: step-security/dtolnay-rust-toolchain@8dd607977d06adf4ed49b190381e74c17a9dd25f # v1.0.0
- uses: step-security/dtolnay-rust-toolchain@v1.0.0
with:
toolchain: ${{env.NIGHTLY_VERSION}}
targets: wasm32-unknown-unknown
@@ -176,11 +176,11 @@ jobs:
timeout-minutes: 10
steps:
- name: Harden runner
uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
uses: step-security/harden-runner@v2.22.4
with:
egress-policy: audit
- uses: actions/checkout@v4
- uses: EmbarkStudios/cargo-deny-action@v2
- uses: actions/checkout@v4.4.0
- uses: EmbarkStudios/cargo-deny-action@v2.1.1
with:
rust-version: "1.95.0"
log-level: error
@@ -195,18 +195,18 @@ jobs:
timeout-minutes: 60
steps:
- name: Harden runner
uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
uses: step-security/harden-runner@v2.22.4
with:
egress-policy: audit
- uses: actions/checkout@v4
- uses: actions/checkout@v4.4.0
- uses: step-security/dtolnay-rust-toolchain@8dd607977d06adf4ed49b190381e74c17a9dd25f # v1.0.0
- uses: step-security/dtolnay-rust-toolchain@v1.0.0
with:
toolchain: 1.95.0
targets: aarch64-linux-android
- name: Set up cargo cache
uses: step-security/rust-cache@8871c8ba063416da7c32246932ea6ae08700453e # v2.9.2
uses: step-security/rust-cache@v2.9.2
with:
# Only `main` writes to the cache, so PR caches can't evict it (10 GB repository limit).
save-if: ${{ github.ref == 'refs/heads/main' }}
@@ -224,18 +224,18 @@ jobs:
timeout-minutes: 60
steps:
- name: Harden runner
uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
uses: step-security/harden-runner@v2.22.4
with:
egress-policy: audit
- uses: actions/checkout@v4
- uses: actions/checkout@v4.4.0
- uses: step-security/dtolnay-rust-toolchain@8dd607977d06adf4ed49b190381e74c17a9dd25f # v1.0.0
- uses: step-security/dtolnay-rust-toolchain@v1.0.0
with:
toolchain: 1.95.0
targets: aarch64-apple-ios
- name: Set up cargo cache
uses: step-security/rust-cache@8871c8ba063416da7c32246932ea6ae08700453e # v2.9.2
uses: step-security/rust-cache@v2.9.2
with:
# Only `main` writes to the cache, so PR caches can't evict it (10 GB repository limit).
save-if: ${{ github.ref == 'refs/heads/main' }}
@@ -252,16 +252,16 @@ jobs:
timeout-minutes: 60
steps:
- name: Harden runner
uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
uses: step-security/harden-runner@v2.22.4
with:
egress-policy: audit
- uses: actions/checkout@v4
- uses: step-security/dtolnay-rust-toolchain@8dd607977d06adf4ed49b190381e74c17a9dd25f # v1.0.0
- uses: actions/checkout@v4.4.0
- uses: step-security/dtolnay-rust-toolchain@v1.0.0
with:
toolchain: 1.95.0
- name: Set up cargo cache
uses: step-security/rust-cache@8871c8ba063416da7c32246932ea6ae08700453e # v2.9.2
uses: step-security/rust-cache@v2.9.2
with:
# Only `main` writes to the cache, so PR caches can't evict it (10 GB repository limit).
save-if: ${{ github.ref == 'refs/heads/main' }}
@@ -279,18 +279,18 @@ jobs:
timeout-minutes: 60
steps:
- name: Harden runner
uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
uses: step-security/harden-runner@v2.22.4
with:
egress-policy: audit
- uses: actions/checkout@v4
- uses: actions/checkout@v4.4.0
with:
lfs: true
- uses: step-security/dtolnay-rust-toolchain@8dd607977d06adf4ed49b190381e74c17a9dd25f # v1.0.0
- uses: step-security/dtolnay-rust-toolchain@v1.0.0
with:
toolchain: 1.95.0
- name: Set up cargo cache
uses: step-security/rust-cache@8871c8ba063416da7c32246932ea6ae08700453e # v2.9.2
uses: step-security/rust-cache@v2.9.2
with:
# Only `main` writes to the cache, so PR caches can't evict it (10 GB repository limit).
save-if: ${{ github.ref == 'refs/heads/main' }}
+3 -3
View File
@@ -13,14 +13,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Harden runner
uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
uses: step-security/harden-runner@v2.22.4
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v4.4.0
- name: Install Taplo
uses: step-security/taiki-e-install-action@76747d22a7567cc4438546a84f11bdf18e670ab8 # v2.87.32
uses: step-security/taiki-e-install-action@v2.87.32
with:
tool: taplo-cli@0.9.3
+2 -2
View File
@@ -11,11 +11,11 @@ jobs:
timeout-minutes: 10
steps:
- name: Harden runner
uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
uses: step-security/harden-runner@v2.22.4
with:
egress-policy: audit
- name: Checkout Actions Repository
uses: actions/checkout@v4
uses: actions/checkout@v4.4.0
- name: Check spelling of entire workspace
uses: crate-ci/typos@v1.38.0
@@ -20,10 +20,10 @@ jobs:
steps:
- name: Harden runner
uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
uses: step-security/harden-runner@v2.22.4
with:
egress-policy: audit
- uses: actions/checkout@v4
- uses: actions/checkout@v4.4.0
with:
lfs: true
# We can't use the workflow token since that would prevent our commit to cause further workflows.
@@ -41,7 +41,7 @@ jobs:
- name: Git status
run: git status
- uses: step-security/git-auto-commit-action@e2d505468267a3cb406af729d48d664de1f16393 # v6.0.2
- uses: step-security/git-auto-commit-action@v6.0.2
with:
commit_message: 'Update snapshot images'