|
@@ -57,7 +57,7 @@ jobs:
|
|
|
name: fmt
|
|
name: fmt
|
|
|
runs-on: ubuntu-24.04
|
|
runs-on: ubuntu-24.04
|
|
|
steps:
|
|
steps:
|
|
|
- - uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
|
|
|
|
|
|
|
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
|
- uses: dtolnay/rust-toolchain@686976e191b89faba57d3206551f0f330d8cb249 # stable
|
|
- uses: dtolnay/rust-toolchain@686976e191b89faba57d3206551f0f330d8cb249 # stable
|
|
|
with:
|
|
with:
|
|
|
components: rustfmt
|
|
components: rustfmt
|
|
@@ -70,12 +70,12 @@ jobs:
|
|
|
env:
|
|
env:
|
|
|
RUSTC_WRAPPER: sccache
|
|
RUSTC_WRAPPER: sccache
|
|
|
steps:
|
|
steps:
|
|
|
- - uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
|
|
|
|
|
|
|
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
|
- uses: dtolnay/rust-toolchain@686976e191b89faba57d3206551f0f330d8cb249 # stable
|
|
- uses: dtolnay/rust-toolchain@686976e191b89faba57d3206551f0f330d8cb249 # stable
|
|
|
with:
|
|
with:
|
|
|
components: clippy
|
|
components: clippy
|
|
|
- name: Cache sccache directory
|
|
- name: Cache sccache directory
|
|
|
- uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v5
|
|
|
|
|
|
|
+ uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
|
|
with:
|
|
with:
|
|
|
path: ${{ env.SCCACHE_DIR }}
|
|
path: ${{ env.SCCACHE_DIR }}
|
|
|
key: sccache-${{ runner.os }}-${{ hashFiles('Cargo.lock', 'fuzz/Cargo.lock') }}
|
|
key: sccache-${{ runner.os }}-${{ hashFiles('Cargo.lock', 'fuzz/Cargo.lock') }}
|
|
@@ -92,7 +92,7 @@ jobs:
|
|
|
name: audit
|
|
name: audit
|
|
|
runs-on: ubuntu-24.04
|
|
runs-on: ubuntu-24.04
|
|
|
steps:
|
|
steps:
|
|
|
- - uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
|
|
|
|
|
|
|
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
|
- uses: dtolnay/rust-toolchain@686976e191b89faba57d3206551f0f330d8cb249 # stable
|
|
- uses: dtolnay/rust-toolchain@686976e191b89faba57d3206551f0f330d8cb249 # stable
|
|
|
- name: Install cargo-audit
|
|
- name: Install cargo-audit
|
|
|
uses: taiki-e/install-action@ab6895351a88b908e96a4697860d4ffea5e57dbe # v2
|
|
uses: taiki-e/install-action@ab6895351a88b908e96a4697860d4ffea5e57dbe # v2
|
|
@@ -105,7 +105,7 @@ jobs:
|
|
|
name: deny
|
|
name: deny
|
|
|
runs-on: ubuntu-24.04
|
|
runs-on: ubuntu-24.04
|
|
|
steps:
|
|
steps:
|
|
|
- - uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
|
|
|
|
|
|
|
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
|
- uses: dtolnay/rust-toolchain@686976e191b89faba57d3206551f0f330d8cb249 # stable
|
|
- uses: dtolnay/rust-toolchain@686976e191b89faba57d3206551f0f330d8cb249 # stable
|
|
|
- name: Install cargo-deny
|
|
- name: Install cargo-deny
|
|
|
uses: taiki-e/install-action@ab6895351a88b908e96a4697860d4ffea5e57dbe # v2
|
|
uses: taiki-e/install-action@ab6895351a88b908e96a4697860d4ffea5e57dbe # v2
|
|
@@ -134,10 +134,10 @@ jobs:
|
|
|
--health-timeout 5s
|
|
--health-timeout 5s
|
|
|
--health-retries 10
|
|
--health-retries 10
|
|
|
steps:
|
|
steps:
|
|
|
- - uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
|
|
|
|
|
|
|
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
|
- uses: dtolnay/rust-toolchain@686976e191b89faba57d3206551f0f330d8cb249 # stable
|
|
- uses: dtolnay/rust-toolchain@686976e191b89faba57d3206551f0f330d8cb249 # stable
|
|
|
- name: Cache sccache directory
|
|
- name: Cache sccache directory
|
|
|
- uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v5
|
|
|
|
|
|
|
+ uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
|
|
with:
|
|
with:
|
|
|
path: ${{ env.SCCACHE_DIR }}
|
|
path: ${{ env.SCCACHE_DIR }}
|
|
|
key: sccache-${{ runner.os }}-${{ hashFiles('Cargo.lock', 'fuzz/Cargo.lock') }}
|
|
key: sccache-${{ runner.os }}-${{ hashFiles('Cargo.lock', 'fuzz/Cargo.lock') }}
|
|
@@ -164,8 +164,8 @@ jobs:
|
|
|
name: doc-links
|
|
name: doc-links
|
|
|
runs-on: ubuntu-24.04
|
|
runs-on: ubuntu-24.04
|
|
|
steps:
|
|
steps:
|
|
|
- - uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
|
|
|
|
|
- - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
|
|
|
|
|
|
|
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
|
|
|
+ - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
|
|
|
with:
|
|
with:
|
|
|
python-version: "3.x"
|
|
python-version: "3.x"
|
|
|
- name: Check documentation links (markdown-link-check equivalent)
|
|
- name: Check documentation links (markdown-link-check equivalent)
|
|
@@ -177,10 +177,10 @@ jobs:
|
|
|
env:
|
|
env:
|
|
|
RUSTC_WRAPPER: sccache
|
|
RUSTC_WRAPPER: sccache
|
|
|
steps:
|
|
steps:
|
|
|
- - uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
|
|
|
|
|
|
|
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
|
- uses: dtolnay/rust-toolchain@686976e191b89faba57d3206551f0f330d8cb249 # stable
|
|
- uses: dtolnay/rust-toolchain@686976e191b89faba57d3206551f0f330d8cb249 # stable
|
|
|
- name: Cache sccache directory
|
|
- name: Cache sccache directory
|
|
|
- uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v5
|
|
|
|
|
|
|
+ uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
|
|
with:
|
|
with:
|
|
|
path: ${{ env.SCCACHE_DIR }}
|
|
path: ${{ env.SCCACHE_DIR }}
|
|
|
key: sccache-${{ runner.os }}-${{ hashFiles('Cargo.lock', 'fuzz/Cargo.lock') }}
|
|
key: sccache-${{ runner.os }}-${{ hashFiles('Cargo.lock', 'fuzz/Cargo.lock') }}
|
|
@@ -210,10 +210,10 @@ jobs:
|
|
|
env:
|
|
env:
|
|
|
RUSTC_WRAPPER: sccache
|
|
RUSTC_WRAPPER: sccache
|
|
|
steps:
|
|
steps:
|
|
|
- - uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
|
|
|
|
|
|
|
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
|
- uses: dtolnay/rust-toolchain@686976e191b89faba57d3206551f0f330d8cb249 # stable
|
|
- uses: dtolnay/rust-toolchain@686976e191b89faba57d3206551f0f330d8cb249 # stable
|
|
|
- name: Cache sccache directory
|
|
- name: Cache sccache directory
|
|
|
- uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v5
|
|
|
|
|
|
|
+ uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
|
|
with:
|
|
with:
|
|
|
path: ${{ env.SCCACHE_DIR }}
|
|
path: ${{ env.SCCACHE_DIR }}
|
|
|
key: sccache-${{ runner.os }}-${{ hashFiles('Cargo.lock', 'fuzz/Cargo.lock') }}
|
|
key: sccache-${{ runner.os }}-${{ hashFiles('Cargo.lock', 'fuzz/Cargo.lock') }}
|
|
@@ -235,7 +235,7 @@ jobs:
|
|
|
run:
|
|
run:
|
|
|
working-directory: fuzz
|
|
working-directory: fuzz
|
|
|
steps:
|
|
steps:
|
|
|
- - uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
|
|
|
|
|
|
|
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
|
# The `fuzz/rust-toolchain.toml` in the working directory selects
|
|
# The `fuzz/rust-toolchain.toml` in the working directory selects
|
|
|
# nightly via rustup override; the root stable pin is untouched.
|
|
# nightly via rustup override; the root stable pin is untouched.
|
|
|
- name: Install cargo-fuzz (nightly, per fuzz/rust-toolchain.toml)
|
|
- name: Install cargo-fuzz (nightly, per fuzz/rust-toolchain.toml)
|
|
@@ -243,7 +243,7 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
tool: cargo-fuzz
|
|
tool: cargo-fuzz
|
|
|
- name: Cache sccache directory
|
|
- name: Cache sccache directory
|
|
|
- uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v5
|
|
|
|
|
|
|
+ uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
|
|
with:
|
|
with:
|
|
|
path: ${{ env.SCCACHE_DIR }}
|
|
path: ${{ env.SCCACHE_DIR }}
|
|
|
key: sccache-${{ runner.os }}-${{ hashFiles('Cargo.lock', 'fuzz/Cargo.lock') }}
|
|
key: sccache-${{ runner.os }}-${{ hashFiles('Cargo.lock', 'fuzz/Cargo.lock') }}
|
|
@@ -279,7 +279,7 @@ jobs:
|
|
|
run:
|
|
run:
|
|
|
working-directory: fuzz
|
|
working-directory: fuzz
|
|
|
steps:
|
|
steps:
|
|
|
- - uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
|
|
|
|
|
|
|
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
|
# `fuzz/rust-toolchain.toml` selects nightly; the root stable pin is
|
|
# `fuzz/rust-toolchain.toml` selects nightly; the root stable pin is
|
|
|
# untouched, exactly as in `fuzz-build`.
|
|
# untouched, exactly as in `fuzz-build`.
|
|
|
- name: Install cargo-fuzz (nightly)
|
|
- name: Install cargo-fuzz (nightly)
|
|
@@ -287,7 +287,7 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
tool: cargo-fuzz
|
|
tool: cargo-fuzz
|
|
|
- name: Cache sccache directory
|
|
- name: Cache sccache directory
|
|
|
- uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v5
|
|
|
|
|
|
|
+ uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
|
|
with:
|
|
with:
|
|
|
path: ${{ env.SCCACHE_DIR }}
|
|
path: ${{ env.SCCACHE_DIR }}
|
|
|
key: sccache-${{ runner.os }}-${{ hashFiles('Cargo.lock', 'fuzz/Cargo.lock') }}
|
|
key: sccache-${{ runner.os }}-${{ hashFiles('Cargo.lock', 'fuzz/Cargo.lock') }}
|
|
@@ -300,7 +300,7 @@ jobs:
|
|
|
# `uses` steps resolve paths from the workspace root, not the job's
|
|
# `uses` steps resolve paths from the workspace root, not the job's
|
|
|
# `working-directory`; keep the fuzz/ prefix explicit.
|
|
# `working-directory`; keep the fuzz/ prefix explicit.
|
|
|
- name: Restore corpus for ${{ matrix.target }}
|
|
- name: Restore corpus for ${{ matrix.target }}
|
|
|
- uses: actions/cache/restore@caa296126883cff596d87d8935842f9db880ef25 # v5
|
|
|
|
|
|
|
+ uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
|
|
with:
|
|
with:
|
|
|
path: fuzz/corpus/${{ matrix.target }}
|
|
path: fuzz/corpus/${{ matrix.target }}
|
|
|
key: fuzz-corpus-${{ matrix.target }}-${{ github.run_id }}
|
|
key: fuzz-corpus-${{ matrix.target }}-${{ github.run_id }}
|
|
@@ -314,13 +314,13 @@ jobs:
|
|
|
# `restore-keys` always pick the newest entry.
|
|
# `restore-keys` always pick the newest entry.
|
|
|
- name: Save corpus for ${{ matrix.target }}
|
|
- name: Save corpus for ${{ matrix.target }}
|
|
|
if: success()
|
|
if: success()
|
|
|
- uses: actions/cache/save@caa296126883cff596d87d8935842f9db880ef25 # v5
|
|
|
|
|
|
|
+ uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
|
|
with:
|
|
with:
|
|
|
path: fuzz/corpus/${{ matrix.target }}
|
|
path: fuzz/corpus/${{ matrix.target }}
|
|
|
key: fuzz-corpus-${{ matrix.target }}-${{ github.run_id }}
|
|
key: fuzz-corpus-${{ matrix.target }}-${{ github.run_id }}
|
|
|
- name: Upload crash artifacts
|
|
- name: Upload crash artifacts
|
|
|
if: failure()
|
|
if: failure()
|
|
|
- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
|
|
|
|
|
|
|
+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
|
|
with:
|
|
with:
|
|
|
name: fuzz-crash-${{ matrix.target }}
|
|
name: fuzz-crash-${{ matrix.target }}
|
|
|
path: fuzz/artifacts/${{ matrix.target }}
|
|
path: fuzz/artifacts/${{ matrix.target }}
|
|
@@ -335,10 +335,10 @@ jobs:
|
|
|
RUSTC_WRAPPER: sccache
|
|
RUSTC_WRAPPER: sccache
|
|
|
timeout-minutes: 60
|
|
timeout-minutes: 60
|
|
|
steps:
|
|
steps:
|
|
|
- - uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
|
|
|
|
|
|
|
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
|
- uses: dtolnay/rust-toolchain@686976e191b89faba57d3206551f0f330d8cb249 # stable
|
|
- uses: dtolnay/rust-toolchain@686976e191b89faba57d3206551f0f330d8cb249 # stable
|
|
|
- name: Cache sccache directory
|
|
- name: Cache sccache directory
|
|
|
- uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v5
|
|
|
|
|
|
|
+ uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
|
|
with:
|
|
with:
|
|
|
path: ${{ env.SCCACHE_DIR }}
|
|
path: ${{ env.SCCACHE_DIR }}
|
|
|
key: sccache-${{ runner.os }}-${{ hashFiles('Cargo.lock', 'fuzz/Cargo.lock') }}
|
|
key: sccache-${{ runner.os }}-${{ hashFiles('Cargo.lock', 'fuzz/Cargo.lock') }}
|
|
@@ -368,12 +368,12 @@ jobs:
|
|
|
RUSTC_WRAPPER: sccache
|
|
RUSTC_WRAPPER: sccache
|
|
|
continue-on-error: true
|
|
continue-on-error: true
|
|
|
steps:
|
|
steps:
|
|
|
- - uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
|
|
|
|
|
|
|
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
|
- uses: dtolnay/rust-toolchain@686976e191b89faba57d3206551f0f330d8cb249 # stable
|
|
- uses: dtolnay/rust-toolchain@686976e191b89faba57d3206551f0f330d8cb249 # stable
|
|
|
with:
|
|
with:
|
|
|
components: llvm-tools-preview
|
|
components: llvm-tools-preview
|
|
|
- name: Cache sccache directory
|
|
- name: Cache sccache directory
|
|
|
- uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v5
|
|
|
|
|
|
|
+ uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
|
|
with:
|
|
with:
|
|
|
path: ${{ env.SCCACHE_DIR }}
|
|
path: ${{ env.SCCACHE_DIR }}
|
|
|
key: sccache-${{ runner.os }}-${{ hashFiles('Cargo.lock', 'fuzz/Cargo.lock') }}
|
|
key: sccache-${{ runner.os }}-${{ hashFiles('Cargo.lock', 'fuzz/Cargo.lock') }}
|
|
@@ -398,7 +398,7 @@ jobs:
|
|
|
run: docker compose -f compose.test.yaml down -v
|
|
run: docker compose -f compose.test.yaml down -v
|
|
|
- name: Upload coverage report
|
|
- name: Upload coverage report
|
|
|
if: always()
|
|
if: always()
|
|
|
- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
|
|
|
|
|
|
|
+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
|
|
with:
|
|
with:
|
|
|
name: coverage-lcov
|
|
name: coverage-lcov
|
|
|
path: lcov.info
|
|
path: lcov.info
|
|
@@ -423,7 +423,7 @@ jobs:
|
|
|
timeout-minutes: 60
|
|
timeout-minutes: 60
|
|
|
continue-on-error: true
|
|
continue-on-error: true
|
|
|
steps:
|
|
steps:
|
|
|
- - uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
|
|
|
|
|
|
|
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
|
- uses: dtolnay/rust-toolchain@f0d5300ba8908d942c808f4d31c08471d7798ba3 # nightly
|
|
- uses: dtolnay/rust-toolchain@f0d5300ba8908d942c808f4d31c08471d7798ba3 # nightly
|
|
|
with:
|
|
with:
|
|
|
components: miri
|
|
components: miri
|