Skip to content

Use main branch of sim-circuit (#80) #34

Use main branch of sim-circuit (#80)

Use main branch of sim-circuit (#80) #34

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: |
~/.cargo
~/.rustup/toolchains
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-
- name: Install Rust
run: rustup toolchain install stable
- name: Build
run: cargo build --verbose
- name: Clippy
run: cargo clippy --verbose -- -D warnings
- name: Tests
run: cargo test --verbose
- name: Fmt
run: cargo fmt -- --check