From 93b7160e0bd6eaffe4d3b8a9cbe5068bea5a62f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sosth=C3=A8ne=20Gu=C3=A9don?= Date: Tue, 17 Nov 2026 08:43:38 +0100 Subject: [PATCH] Add actions lockfile --- .github/workflows/actions.lock | 29 +++++++++++++++++++++++++++++ .github/workflows/cd-test.yml | 2 +- .github/workflows/cd.yml | 4 ++-- .github/workflows/ci.yml | 14 +++++++++++++- 4 files changed, 45 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/actions.lock diff --git a/.github/workflows/actions.lock b/.github/workflows/actions.lock new file mode 100644 index 0000000..70cc964 --- /dev/null +++ b/.github/workflows/actions.lock @@ -0,0 +1,29 @@ +# 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/cd-test.yml': + - 'actions/checkout@v7' + '.github/workflows/cd.yml': + - 'actions/checkout@v7' + - 'rust-lang/crates-io-auth-action@v1' + '.github/workflows/ci.yml': + - 'actions/checkout@v7' + - 'peaceiris/actions-gh-pages@v3' +dependencies: + 'actions/checkout@v7': + ref: 'v7' + commit: 'sha1-3d3c42e5aac5ba805825da76410c181273ba90b1' + owner_id: 44036562 + repo_id: 197814629 + 'peaceiris/actions-gh-pages@v3': + ref: 'v3' + commit: 'sha1-373f7f263a76c20808c831209c920827a82a2847' + owner_id: 30958501 + repo_id: 187915200 + 'rust-lang/crates-io-auth-action@v1': + ref: 'v1' + commit: 'sha1-3268eb413133e2960fa4ae0e963ca76380c54cd9' + owner_id: 5430905 + repo_id: 1008931044 diff --git a/.github/workflows/cd-test.yml b/.github/workflows/cd-test.yml index 0d2d1bc..81baa5f 100644 --- a/.github/workflows/cd-test.yml +++ b/.github/workflows/cd-test.yml @@ -14,5 +14,5 @@ jobs: runs-on: ubuntu-latest if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip-publish-check') }} steps: - - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - uses: actions/checkout@v7 - run: cargo publish --dry-run diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index e30f143..567cda0 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -15,8 +15,8 @@ jobs: permissions: id-token: write steps: - - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - - uses: rust-lang/crates-io-auth-action@c6f97d42243bad5fab37ca0427f495c86d5b1a18 # v1.0.5 + - uses: actions/checkout@v7 + - uses: rust-lang/crates-io-auth-action@v1 id: auth - run: cargo publish env: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6747865..a9ba400 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,11 +3,23 @@ name: CI on: [push, pull_request] jobs: + verify-lockfile: + runs-on: ubuntu-latest + env: + GH_TOKEN: ${{ github.token }} + permissions: + contents: read + steps: + - uses: actions/checkout@v7 + with: + persist-credentials: false + - run: gh extension install github/gh-actions-lock --pin v0.4.1 + - run: gh actions-lock --verify build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@master + - uses: actions/checkout@v7 - name: Install rust run: | rustup install nightly