Skip to content

Merge pull request #13 from Fanteria/release-0-2-1 #62

Merge pull request #13 from Fanteria/release-0-2-1

Merge pull request #13 from Fanteria/release-0-2-1 #62

Workflow file for this run

name: Check
on:
push:
branches: [ "main", "dev" ]
pull_request:
branches: [ "main", "dev" ]
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: "-Dwarnings"
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt
- name: Formatting
run: cargo fmt --all -- --check
- name: Clippy
run: cargo clippy --all-targets --all-features
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose