Skip to content

Commit

Permalink
fix test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Jrigada committed Aug 22, 2024
1 parent 16c8e3c commit 11732fd
Showing 1 changed file with 15 additions and 16 deletions.
31 changes: 15 additions & 16 deletions .github/workflows/zksync-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ on:
branches:
- 'zksync-v**'
concurrency:
cancel-in-progress: true
group: ${{github.workflow}}-${{github.ref}}
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

env:
CARGO_TERM_COLOR: always
Expand Down Expand Up @@ -62,18 +62,17 @@ jobs:
cargo-test:
name: cargo-test
runs-on: ubuntu-latest

timeout-minutes: 30
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive
ref: ${{ github.event.pull_request.head.sha }}

- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1

- name: Run tests
env:
RUST_BACKTRACE: full
run: cargo test
- uses: actions/checkout@v4
with:
submodules: recursive
ref: ${{ github.event.pull_request.head.sha }}
- uses: actions-rust-lang/setup-rust-toolchain@v1
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: Run tests
run: cargo test --all-features
env:
RUST_BACKTRACE: full

0 comments on commit 11732fd

Please sign in to comment.