This repository has been archived by the owner on Jan 15, 2024. It is now read-only.
Bump styfle/cancel-workflow-action from 0.11.0 to 0.12.0 (#142) #10
This file contains 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: Slow Tests | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
env: | |
RUSTFLAGS: "-C overflow-checks=on" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cancel Outdated Builds | |
uses: styfle/[email protected] | |
with: | |
all_but_latest: true | |
access_token: ${{ github.token }} | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Install Rust 1.64 toolchain | |
uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: 1.64 | |
components: clippy, rustfmt | |
- name: Enable Rust Caching | |
uses: Swatinem/rust-cache@v2 | |
with: | |
cache-on-failure: true | |
- name: Test | |
run: | | |
cargo test --release --no-default-features --features bls12_377 | |
cargo test --release --no-default-features --features bls12_381 | |
cargo test --release --no-default-features --features bn254 |