Skip to content

test: List all consensus-critical snippets #579

test: List all consensus-critical snippets

test: List all consensus-critical snippets #579

Workflow file for this run

on:
push:
branches:
- master
pull_request:
branches:
- master
name: Rust
jobs:
runner-matrix:
name: format, lint, test
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt, clippy
- name: Run cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: Run cargo clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings
- name: Run cargo test without benches
uses: actions-rs/cargo@v1
with:
command: test
args: -- --skip benches --skip mine_20_blocks_in_40_seconds