Skip to content

Commit

Permalink
chore: fix sidecar ci
Browse files Browse the repository at this point in the history
  • Loading branch information
merklefruit committed Jul 17, 2024
1 parent 628c103 commit 0af46f9
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/sidecar_ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: ci
name: Bolt-sidecar CI

on: [push]
on: [push, pull_request]

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
Expand All @@ -10,22 +10,33 @@ jobs:
cargo-tests:
runs-on: ubuntu-latest
timeout-minutes: 10

steps:
- name: Checkout sources
uses: actions/checkout@v3

- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
- uses: Swatinem/rust-cache@v2

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1

- name: Cache cargo registry
uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true

- name: Install cargo-nextest
uses: baptiste0928/cargo-install@v1
with:
crate: cargo-nextest
locked: true
args: --locked

- name: Run all tests
run: cd bolt-sidecar && cargo nextest run --workspace --retries 3
env:
RPC_URL: ${{ secrets.RPC_URL }}

0 comments on commit 0af46f9

Please sign in to comment.