Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
os: [windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt
Expand Down Expand Up @@ -79,7 +79,7 @@
run: cargo test --doc --workspace --all-features
- name: Test summary
if: always()
uses: mikepenz/action-junit-report@v5
uses: mikepenz/action-junit-report@v6

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow or composite action Medium

Unpinned 3rd party Action 'CI' step
Uses Step
uses 'mikepenz/action-junit-report' with ref 'v6', not a pinned commit hash
with:
report_paths: target/nextest/ci/junit.xml
annotate_only: true
Expand All @@ -94,11 +94,11 @@
name: linux verify (Docker + libfprint)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
# The image builds libfprint v1.94.10 from source; the gha cache avoids rebuilding it every
# run. docker-compose.yml names `fprintd-dev`, so every `run` below picks this up.
- uses: docker/setup-buildx-action@v3
- uses: docker/build-push-action@v6
- uses: docker/setup-buildx-action@v4

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow or composite action Medium

Unpinned 3rd party Action 'CI' step
Uses Step
uses 'docker/setup-buildx-action' with ref 'v4', not a pinned commit hash
- uses: docker/build-push-action@v7

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow or composite action Medium

Unpinned 3rd party Action 'CI' step
Uses Step
uses 'docker/build-push-action' with ref 'v7', not a pinned commit hash
with:
context: .
file: docker/Dockerfile
Expand All @@ -110,7 +110,7 @@
# volume is empty each run, so sccache (167 MiB) carries the 109 third-party crate compilations
# between runs. Keyed on the lockfile and the image; either moving invalidates the cache.
# See docker/docker-compose.ci.yml.
- uses: actions/cache@v4
- uses: actions/cache@v6
with:
path: .sccache
key: sccache-linux-${{ hashFiles('Cargo.lock', 'docker/Dockerfile') }}
Expand Down Expand Up @@ -153,7 +153,7 @@
name: systemd unit (Alias takes the seat)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Verify the unit against real systemd
Expand All @@ -167,7 +167,7 @@
# the 1.82 floor is the one under test.
RUSTUP_TOOLCHAIN: "1.82"
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@1.82
- uses: Swatinem/rust-cache@v2
# The Linux-only crates are absent: they declare 1.85 and would fail here. Their floor is
Expand All @@ -181,7 +181,7 @@
name: publish-check (the registry's rules)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
# publish-check dry-runs `cargo publish --workspace`, which builds the shim crate; its
Expand All @@ -195,7 +195,7 @@
name: supply chain (advisories, licences, bans, sources)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- uses: EmbarkStudios/cargo-deny-action@v2
with:
command: check
Expand All @@ -204,8 +204,8 @@
name: reuse lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: fsfe/reuse-action@v5
- uses: actions/checkout@v7
- uses: fsfe/reuse-action@v6

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow or composite action Medium

Unpinned 3rd party Action 'CI' step
Uses Step
uses 'fsfe/reuse-action' with ref 'v6', not a pinned commit hash

mutants:
name: mutants (the diff)
Expand All @@ -215,7 +215,7 @@
# Bounded: a large diff reports nothing rather than holding a runner. The finding is advisory.
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
fetch-depth: 0 # `git diff origin/<base>...HEAD` needs the base branch and the merge base
- uses: dtolnay/rust-toolchain@stable
Expand All @@ -235,7 +235,7 @@
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@stable
with:
components: llvm-tools-preview
Expand All @@ -247,7 +247,7 @@
run: >
cargo llvm-cov nextest --all-features --lcov --output-path lcov.info
-p fprint-core -p fprint-fp3 -p fprint-bozorth3 -p fprint-mindtct -p fprint-backend-native
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: coverage-lcov
path: lcov.info
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ jobs:
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: initialize CodeQL
uses: github/codeql-action/init@02c5e83432fe5497fd85b873b6c9f16a8578e1d9 # v3
uses: github/codeql-action/init@7188fc363630916deb702c7fdcf4e481b751f97a # v3
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
queries: security-extended
- name: analyze
uses: github/codeql-action/analyze@02c5e83432fe5497fd85b873b6c9f16a8578e1d9 # v3
uses: github/codeql-action/analyze@7188fc363630916deb702c7fdcf4e481b751f97a # v3
with:
category: "/language:${{ matrix.language }}"
8 changes: 4 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ jobs:
name: build the book and the api reference
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- uses: taiki-e/install-action@v2
with:
tool: mdbook
- uses: actions/configure-pages@v5
- uses: actions/configure-pages@v6
# `cargo doc --workspace` documents the two C-linking crates (fprintd, fprint-backend-libfprint),
# so the distro libfprint headers and libclang must be present for libfprint-sys bindgen.
- name: Refresh the package index
Expand All @@ -57,7 +57,7 @@ jobs:
run: cp -r docs/book _site
- name: Place the API reference at /api
run: cp -r target/doc _site/api
- uses: actions/upload-pages-artifact@v3
- uses: actions/upload-pages-artifact@v5
with:
path: _site

Expand All @@ -70,4 +70,4 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@v5
4 changes: 2 additions & 2 deletions .github/workflows/scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
name: new advisories on unchanged code
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- uses: EmbarkStudios/cargo-deny-action@v2
with:
command: check advisories
Expand All @@ -42,7 +42,7 @@ jobs:
# the beta toolchain is used.
RUSTUP_TOOLCHAIN: beta
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@beta
- uses: Swatinem/rust-cache@v2
# `RUSTFLAGS: -D warnings` is absent, unlike ci.yml: a new lint firing on beta is not a
Expand Down
Loading