Skip to content

feat: upgrade to quantum-safe cryptography (ChaCha20-Poly1305 + BLAKE3) #842

feat: upgrade to quantum-safe cryptography (ChaCha20-Poly1305 + BLAKE3)

feat: upgrade to quantum-safe cryptography (ChaCha20-Poly1305 + BLAKE3) #842

Workflow file for this run

name: Benchmarking
on: [pull_request, push]
env:
RUST_BACKTRACE: 1
RUSTFLAGS: "-D warnings"
jobs:
bench:
name: Benchmarking
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Generate Cargo.lock
run: cargo generate-lockfile
- uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Cargo build
if: steps.${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}.outputs.cache-hit != 'true'

Check warning on line 36 in .github/workflows/benchmark.yml

View workflow run for this annotation

GitHub Actions / Benchmarking

Workflow syntax warning

.github/workflows/benchmark.yml (Line: 36, Col: 13): Conditional expression contains literal text outside replacement tokens. This will cause the expression to always evaluate to truthy. Did you mean to put the entire expression inside ${{ }}?
run: cargo build --release
- name: Cargo bench
run: cargo bench