Skip to content
Merged
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
4 changes: 2 additions & 2 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ jobs:
with:
persist-credentials: false
- uses: ./.github/actions/setup-rust
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
- name: Run the Criterion benchmark
run: cargo bench -p proof-bench | tee benchmark.txt
- name: Upload report
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: benchmark
path: benchmark.txt
62 changes: 31 additions & 31 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
with:
persist-credentials: false
- uses: ./.github/actions/setup-rust
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
# The PyO3 extension cdylib is built and tested by the `python` job via
# maturin; the C ABI cdylib by the `c-abi` job. Exclude both here.
- run: cargo build --workspace ${{ matrix.features }} --exclude wickra-proof-python --exclude wickra-proof-c
Expand All @@ -52,7 +52,7 @@ jobs:
- uses: ./.github/actions/setup-rust
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
- run: cargo fmt --all -- --check
- run: cargo clippy --workspace --all-targets --all-features -- -D warnings
- run: cargo clippy --workspace --all-targets --no-default-features -- -D warnings
Expand All @@ -68,7 +68,7 @@ jobs:
- uses: ./.github/actions/setup-rust
with:
toolchain: "1.86"
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
# The Node binding (napi 3) needs Rust 1.88 and is checked separately; the
# Python binding needs maturin's platform link flags and is built by the
# `python` job. The library, CLI, C ABI and WASM stay at 1.86.
Expand All @@ -88,7 +88,7 @@ jobs:
- uses: ./.github/actions/setup-rust
with:
toolchain: "1.88"
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
- run: cargo build -p wickra-proof-node

supply-chain:
Expand All @@ -99,7 +99,7 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: taiki-e/install-action@9983c65e42da123ff25d1f78505eb6de315aa172 # v2.87.20
- uses: taiki-e/install-action@1e29709c0ec63babbe8f266397a465f29a825f91 # v2.87.31
with:
tool: cargo-deny
- run: cargo deny check
Expand All @@ -121,7 +121,7 @@ jobs:
# create. Everything pinned in a lockfile is still scanned in full and
# transitively, because a lockfile needs no resolution.
- name: osv-scanner
uses: google/osv-scanner-action/osv-scanner-action@a345acffa64b0eaede81a3d9aae6141214d9c8fc # v2.6.0
uses: google/osv-scanner-action/osv-scanner-action@b1d267aea5211fa648d9d442fa64b90dbdcbdd36 # v2.7.0
with:
scan-args: |-
--recursive
Expand All @@ -140,9 +140,9 @@ jobs:
- uses: ./.github/actions/setup-rust
with:
components: llvm-tools-preview
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@9983c65e42da123ff25d1f78505eb6de315aa172 # v2.87.20
uses: taiki-e/install-action@1e29709c0ec63babbe8f266397a465f29a825f91 # v2.87.31
with:
tool: cargo-llvm-cov
# The moat lives in wickra-proof-core: canonicalization + hashing + prove/verify.
Expand Down Expand Up @@ -178,11 +178,11 @@ jobs:
# with a codegen ICE unrelated to this code. Move the date deliberately,
# in every repo at once.
toolchain: nightly-2026-07-01
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
with:
workspaces: fuzz
- name: Install cargo-fuzz
uses: taiki-e/install-action@9983c65e42da123ff25d1f78505eb6de315aa172 # v2.87.20
uses: taiki-e/install-action@1e29709c0ec63babbe8f266397a465f29a825f91 # v2.87.31
with:
tool: cargo-fuzz
- name: Fuzz spec_parse (30 s)
Expand Down Expand Up @@ -220,11 +220,11 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
with:
python-version: ${{ matrix.python-version }}
- uses: ./.github/actions/setup-rust
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
# The build and test tools come from the hash-locked requirements file
# Dependabot maintains, not from whatever PyPI resolves today. No
# `pip install --upgrade pip` first: that fetch is itself unpinned.
Expand Down Expand Up @@ -270,8 +270,8 @@ jobs:
with:
persist-credentials: false
- uses: ./.github/actions/setup-rust
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: ${{ matrix.node-version }}
cache: npm
Expand Down Expand Up @@ -329,9 +329,9 @@ jobs:
- uses: ./.github/actions/setup-rust
with:
targets: wasm32-unknown-unknown
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
- name: Install wasm-pack
uses: taiki-e/install-action@9983c65e42da123ff25d1f78505eb6de315aa172 # v2.87.20
uses: taiki-e/install-action@1e29709c0ec63babbe8f266397a465f29a825f91 # v2.87.31
with:
tool: wasm-pack
- name: Build the wasm binding (web target)
Expand All @@ -350,7 +350,7 @@ jobs:
# The toolchain download flakes on the runners often enough that a retry
# with no code change is the standard fix, the same way the node and
# examples jobs handle it.
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
id: setup_node_wasm
continue-on-error: true
with:
Expand All @@ -361,7 +361,7 @@ jobs:
shell: bash
- name: Retry the toolchain download
if: steps.setup_node_wasm.outcome == 'failure'
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: "22"
# An explicit glob rather than `node --test tests/`: Node 22 reads a bare
Expand All @@ -385,9 +385,9 @@ jobs:
with:
persist-credentials: false
- uses: ./.github/actions/setup-rust
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
- name: Install cbindgen
uses: taiki-e/install-action@9983c65e42da123ff25d1f78505eb6de315aa172 # v2.87.20
uses: taiki-e/install-action@1e29709c0ec63babbe8f266397a465f29a825f91 # v2.87.31
with:
tool: cbindgen
# install-action ships no cbindgen and falls back to cargo-binstall. Its
Expand Down Expand Up @@ -434,7 +434,7 @@ jobs:
go-version: "stable"
cache: false
- uses: ./.github/actions/setup-rust
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
- name: Build the C ABI library
run: cargo build -p wickra-proof-c --release
- name: Vendored header in sync with the C ABI
Expand Down Expand Up @@ -488,7 +488,7 @@ jobs:
with:
persist-credentials: false
- uses: ./.github/actions/setup-rust
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
- uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0
with:
dotnet-version: "8.0.x"
Expand All @@ -512,11 +512,11 @@ jobs:
with:
persist-credentials: false
- uses: ./.github/actions/setup-rust
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
# The pom points native.lib.dir at target/debug, so build the debug profile.
- name: Build the C ABI library
run: cargo build -p wickra-proof-c
- uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6 # v6.0.1
- uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad # v6.1.0
with:
distribution: temurin
java-version: "25"
Expand Down Expand Up @@ -546,7 +546,7 @@ jobs:
with:
persist-credentials: false
- uses: ./.github/actions/setup-rust
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
- name: Build the C ABI library
run: cargo build -p wickra-proof-c --release
- uses: r-lib/actions/setup-r@f9a764fea8d5c63df6ef9a5c7795bf7deb5d7e05 # v2.14.0
Expand Down Expand Up @@ -633,9 +633,9 @@ jobs:
with:
persist-credentials: false
- uses: ./.github/actions/setup-rust
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
- name: Install cargo-semver-checks
uses: taiki-e/install-action@9983c65e42da123ff25d1f78505eb6de315aa172 # v2.87.20
uses: taiki-e/install-action@1e29709c0ec63babbe8f266397a465f29a825f91 # v2.87.31
timeout-minutes: 10 # fail fast on a stuck download instead of hanging the job
with:
tool: cargo-semver-checks
Expand Down Expand Up @@ -736,7 +736,7 @@ jobs:
with:
persist-credentials: false
- uses: ./.github/actions/setup-rust
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3

- name: Warm cargo registry (retry transient DNS/registry flakes)
shell: bash
Expand Down Expand Up @@ -815,7 +815,7 @@ jobs:
echo "$out" | grep -q 'verify: valid'
echo "$out" | grep -q "report_hash: $EXAMPLE_HASH"

- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
id: setup_node_examples
continue-on-error: true
with:
Expand All @@ -826,7 +826,7 @@ jobs:
shell: bash
- name: Retry the toolchain download
if: steps.setup_node_examples.outcome == 'failure'
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: "22"
- name: Node.js
Expand Down Expand Up @@ -871,7 +871,7 @@ jobs:
echo "$out" | grep -q 'verify: valid'
echo "$out" | grep -q "report_hash: $EXAMPLE_HASH"

- uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6 # v6.0.1
- uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad # v6.1.0
with:
distribution: temurin
java-version: "22"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:

- name: Set up JDK 25
if: matrix.language == 'java-kotlin'
uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6 # v6.0.1
uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad # v6.1.0
with:
distribution: temurin
java-version: "25"
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
mkdir -p bindings/go/lib/linux_amd64
cp target/release/libwickra_proof.so bindings/go/lib/linux_amd64/
- name: Initialize CodeQL
uses: github/codeql-action/init@2892aa5e19bbd11bc0cff5427e3b750a04d9e3c2 # v4.38.2
uses: github/codeql-action/init@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1
# Overlay (incremental) databases need `build-mode: none`. A traced build --
# manual or autobuild -- cannot produce one, and the action then falls back
# to a full database with a warning on every run. Turning overlay off for
Expand Down Expand Up @@ -118,6 +118,6 @@ jobs:
shell: bash
command: mvn -B -f bindings/java package -DskipTests
- name: Perform CodeQL analysis
uses: github/codeql-action/analyze@2892aa5e19bbd11bc0cff5427e3b750a04d9e3c2 # v4.38.2
uses: github/codeql-action/analyze@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1
with:
category: "/language:${{ matrix.language }}"
6 changes: 3 additions & 3 deletions .github/workflows/codspeed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ jobs:
with:
persist-credentials: false
- uses: ./.github/actions/setup-rust
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
- name: Install cargo-codspeed
uses: taiki-e/install-action@9983c65e42da123ff25d1f78505eb6de315aa172 # v2.87.20
uses: taiki-e/install-action@1e29709c0ec63babbe8f266397a465f29a825f91 # v2.87.31
with:
tool: cargo-codspeed
- name: Build the benchmarks
run: cargo codspeed build -p proof-bench
- name: Run the benchmarks
uses: CodSpeedHQ/action@373d6868929f444bc08d901fd0eb0ad52a8875ea # v5.2.1
uses: CodSpeedHQ/action@78102a468f96d8e0ccb92d0ec49425753fc42062 # v5.6.0
with:
# Required since action v4, where it used to be inferred. `simulation`
# counts instructions under instrumentation; `walltime` measures real
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/follow-family.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ jobs:
persist-credentials: false
- name: Mint a wickra-lib-bot token for this repository
id: app
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510 # v3.3.0
with:
client-id: ${{ vars.WICKRA_BOT_CLIENT_ID }}
private-key: ${{ secrets.WICKRA_BOT_PRIVATE_KEY }}
permission-contents: write
permission-pull-requests: write
- name: Move to new family releases
uses: wickra-lib/.github/actions/follow-family@782bf3d7a8edb80ada87dc7ba9067e2bf5752710 # v1.0.0
uses: wickra-lib/.github/actions/follow-family@da1bd395c27f33dbed632c8e4e48e12f85394858 # v1.1.0
with:
token: ${{ steps.app.outputs.token }}
locks: "."
Expand Down
Loading
Loading