Skip to content

Merge pull request #50 from Bryntet/master #145

Merge pull request #50 from Bryntet/master

Merge pull request #50 from Bryntet/master #145

Workflow file for this run

name: Cargo Build, Test, and Linting
on:
push:
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
build_and_test:
name: Rust project - latest
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
- stable
steps:
- uses: actions/checkout@v4
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: cargo build --verbose
- run: cargo test --verbose
- run: cargo clippy --all-targets --all-features --no-default-features -- -D warnings
- run: cargo fmt --check