Skip to content

Feat/bitcoin segwit examples #9

Feat/bitcoin segwit examples

Feat/bitcoin segwit examples #9

Workflow file for this run

name: Test
on:
push:
branches: [ main ]
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
clippy:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-just
- run: just lint
cargo-fmt:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-just
- run: just fmt
build:
needs: [clippy, cargo-fmt]
strategy:
matrix:
platform: [ubuntu-latest, macos-latest]
toolchain: [stable, nightly]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-just
- uses: ./.github/actions/setup-rust
- run: just check
tests:
needs: [build]
strategy:
matrix:
platform: [ubuntu-latest, macos-latest]
toolchain: [stable, nightly]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-just
- uses: ./.github/actions/setup-rust
- uses: foundry-rs/foundry-toolchain@v1
- name: Run all tests
run: just test-all