feat: upgrade to quantum-safe cryptography (ChaCha20-Poly1305 + BLAKE3) #842
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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
|
||
| run: cargo build --release | ||
| - name: Cargo bench | ||
| run: cargo bench | ||