🎨 A start at denoising #111
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Cargo Build & Test | |
on: | |
push: | |
pull_request: | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
test: | |
name: Rust project - latest | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install toolchain | |
run: | | |
rustup update stable | |
rustup default stable | |
rustup component add clippy | |
- name: Lint | |
run: | | |
cd racer-tracer | |
cargo fmt -- --check | |
cargo clippy -- -D warnings | |
- name: Test | |
run: | | |
cd racer-tracer | |
cargo check | |
cargo test --all | |
- name: Build | |
run: | | |
cd racer-tracer | |
cargo build --release | |