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
12 changes: 6 additions & 6 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,14 @@ jobs:

- uses: ./.github/actions/setup-rust

- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
continue-on-error: true # cache is an optimisation; never block on a stuck/slow restore
timeout-minutes: 6

- name: Set up Python
id: setup_python
continue-on-error: true
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
with:
python-version: "3.11"
cache: pip
Expand All @@ -77,7 +77,7 @@ jobs:

- name: Set up Python (retry)
if: steps.setup_python.outcome == 'failure'
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
with:
python-version: "3.11"
cache: pip
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:
| tee benchmark.txt

- name: Upload report
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: cross-library-bench
path: bindings/python/benchmark.txt
Expand All @@ -130,7 +130,7 @@ jobs:

- uses: ./.github/actions/setup-rust

- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
continue-on-error: true # cache is an optimisation; never block on a stuck/slow restore
timeout-minutes: 6

Expand All @@ -141,7 +141,7 @@ jobs:
run: cargo bench -p wickra-bench --bench cross_lib | tee rust_cross_bench.txt

- name: Upload Rust report
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: rust-cross-bench
path: rust_cross_bench.txt
68 changes: 34 additions & 34 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
components: rustfmt, clippy

- name: Cache cargo
uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
continue-on-error: true # cache is an optimisation; never block on a stuck/slow restore
timeout-minutes: 6

Expand Down Expand Up @@ -168,7 +168,7 @@ jobs:
- name: Set up Node
id: setup_node
continue-on-error: true
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: "22"

Expand All @@ -181,14 +181,14 @@ jobs:

- name: Set up Node (retry)
if: steps.setup_node.outcome == 'failure'
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: "22"

- name: Set up Python
id: setup_python
continue-on-error: true
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
with:
python-version: "3.12"

Expand All @@ -201,7 +201,7 @@ jobs:

- name: Set up Python (retry)
if: steps.setup_python.outcome == 'failure'
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
with:
python-version: "3.12"

Expand Down Expand Up @@ -263,7 +263,7 @@ jobs:
- name: Set up Python
id: setup_python
continue-on-error: true
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
with:
python-version: "3.12"

Expand All @@ -276,14 +276,14 @@ jobs:

- name: Set up Python (retry)
if: steps.setup_python.outcome == 'failure'
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
with:
python-version: "3.12"

- name: Set up Node
id: setup_node
continue-on-error: true
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: "22"

Expand All @@ -296,12 +296,12 @@ jobs:

- name: Set up Node (retry)
if: steps.setup_node.outcome == 'failure'
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: "22"

- name: Cache cargo
uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
continue-on-error: true # cache is an optimisation; never block on a stuck/slow restore
timeout-minutes: 6

Expand Down Expand Up @@ -355,7 +355,7 @@ jobs:
toolchain: ${{ matrix.toolchain }}

- name: Cache cargo
uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
continue-on-error: true # cache is an optimisation; never block on a stuck/slow restore
timeout-minutes: 6

Expand Down Expand Up @@ -394,12 +394,12 @@ jobs:
components: llvm-tools-preview

- name: Cache cargo
uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
continue-on-error: true # cache is an optimisation; never block on a stuck/slow restore
timeout-minutes: 6

- name: Install cargo-llvm-cov
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-llvm-cov
Expand Down Expand Up @@ -477,7 +477,7 @@ jobs:
# because a lockfile needs no resolution. wickra-backtest reached the same
# flag by the same route.
- 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 @@ -497,10 +497,10 @@ jobs:
uses: ./.github/actions/setup-rust

- name: Cache cargo
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 @@ -537,7 +537,7 @@ jobs:
toolchain: nightly-2026-07-01

- name: Cache cargo
uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
continue-on-error: true # cache is an optimisation; never block on a stuck/slow restore
timeout-minutes: 6
with:
Expand All @@ -551,7 +551,7 @@ jobs:
# attributes the modern nightly compiler rejects, so the install
# never gets off the ground. The prebuilt binary avoids the entire
# transitive-dep compile.
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-fuzz
Expand Down Expand Up @@ -611,7 +611,7 @@ jobs:
uses: ./.github/actions/setup-rust

- name: Cache cargo
uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
continue-on-error: true # cache is an optimisation; never block on a stuck/slow restore
timeout-minutes: 6

Expand All @@ -623,7 +623,7 @@ jobs:
- name: Set up Python
id: setup_python
continue-on-error: true
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
with:
python-version: ${{ matrix.python-version }}
cache: pip
Expand All @@ -638,7 +638,7 @@ jobs:

- name: Set up Python (retry)
if: steps.setup_python.outcome == 'failure'
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
with:
python-version: ${{ matrix.python-version }}
cache: pip
Expand Down Expand Up @@ -706,7 +706,7 @@ jobs:
targets: wasm32-unknown-unknown

- name: Cache cargo
uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
continue-on-error: true # cache is an optimisation; never block on a stuck/slow restore
timeout-minutes: 6

Expand All @@ -718,7 +718,7 @@ jobs:
# same taiki-e prebuilt-binary installer we already use for
# cargo-llvm-cov and cargo-fuzz; it tracks the latest wasm-pack
# release, which has `--features` as a top-level flag (since 0.12).
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: wasm-pack
Expand Down Expand Up @@ -784,7 +784,7 @@ jobs:
uses: ./.github/actions/setup-rust

- name: Cache cargo
uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
continue-on-error: true # cache is an optimisation; never block on a stuck/slow restore
timeout-minutes: 6

Expand All @@ -795,7 +795,7 @@ jobs:
- name: Set up Node
id: setup_node
continue-on-error: true
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: ${{ matrix.node-version }}
cache: npm
Expand All @@ -810,7 +810,7 @@ jobs:

- name: Set up Node (retry)
if: steps.setup_node.outcome == 'failure'
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: ${{ matrix.node-version }}
cache: npm
Expand Down Expand Up @@ -914,12 +914,12 @@ jobs:
uses: ./.github/actions/setup-rust

- name: Cache cargo
uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
continue-on-error: true # cache is an optimisation; never block on a stuck/slow restore
timeout-minutes: 6

- name: Install cbindgen
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: cbindgen
Expand Down Expand Up @@ -976,7 +976,7 @@ jobs:
uses: ./.github/actions/setup-rust

- name: Cache cargo
uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
continue-on-error: true # cache is an optimisation; never block on a stuck/slow restore
timeout-minutes: 6

Expand Down Expand Up @@ -1133,7 +1133,7 @@ jobs:
uses: ./.github/actions/setup-rust

- name: Cache cargo
uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
continue-on-error: true # cache is an optimisation; never block on a stuck/slow restore
timeout-minutes: 6

Expand Down Expand Up @@ -1234,7 +1234,7 @@ jobs:
uses: ./.github/actions/setup-rust

- name: Cache cargo
uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
continue-on-error: true
timeout-minutes: 6

Expand Down Expand Up @@ -1351,7 +1351,7 @@ jobs:
uses: ./.github/actions/setup-rust

- name: Cache cargo
uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
continue-on-error: true # cache is an optimisation; never block on a stuck/slow restore
timeout-minutes: 6

Expand All @@ -1366,7 +1366,7 @@ jobs:
- name: Set up JDK 25
id: setup-java
continue-on-error: true
uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6 # v6.0.1
uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad # v6.1.0
with:
distribution: temurin
java-version: "${{ matrix.java }}"
Expand All @@ -1381,7 +1381,7 @@ jobs:

- name: Set up JDK 25 (retry)
if: steps.setup-java.outcome == 'failure'
uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6 # v6.0.1
uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad # v6.1.0
with:
distribution: temurin
java-version: "${{ matrix.java }}"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
# release 22.
- 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 @@ -125,7 +125,7 @@ jobs:
cp target/release/libwickra.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 @@ -196,6 +196,6 @@ jobs:
mvn -B -f examples/java test-compile -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 @@ -48,10 +48,10 @@ jobs:
uses: ./.github/actions/setup-rust

- name: Cache cargo
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
timeout-minutes: 10 # fail fast on a stuck download instead of hanging the job
with:
tool: cargo-codspeed
Expand All @@ -62,7 +62,7 @@ jobs:
run: cargo codspeed build -p wickra

- name: Run them under instrumentation
uses: CodSpeedHQ/action@373d6868929f444bc08d901fd0eb0ad52a8875ea # v5.2.1
uses: CodSpeedHQ/action@78102a468f96d8e0ccb92d0ec49425753fc42062 # v5.6.0
with:
# Required since action v4, and it used to be inferred. `simulation`
# counts instructions under instrumentation; `walltime` measures real
Expand Down
Loading
Loading