Skip to content

Commit

Permalink
ci: Set cancel in progress and concurency limit
Browse files Browse the repository at this point in the history
alexandrst88 committed Aug 19, 2024
1 parent a31e512 commit 8559f26
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -2,6 +2,10 @@ name: "Rust CI"
on:
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
build:
name: cargo build
@@ -35,7 +39,7 @@ jobs:
rustup toolchain install nightly-2023-08-23
rustup default nightly-2023-08-23
cargo install cargo-nextest
- name: zkevm_test_harness - Main test
- name: zkevm_test_harness - Main test
run: cargo nextest run --release --manifest-path crates/zkevm_test_harness/Cargo.toml --test-threads 2
- name: Encodings test
run: cargo nextest run --release --manifest-path crates/circuit_encodings/Cargo.toml

0 comments on commit 8559f26

Please sign in to comment.