Skip to content

Merge remote-tracking branch 'origin/main' #257

Merge remote-tracking branch 'origin/main'

Merge remote-tracking branch 'origin/main' #257

Workflow file for this run

name: Rust checks
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install latest stable Rust toolchain with clippy
uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- name: Setup cache
uses: Swatinem/rust-cache@v2
- name: Build
run: cargo build --features=all --verbose
- name: Run tests
run: cargo test --features=all --verbose
- name: Run clippy
run: cargo clippy --workspace --all-features -- -D clippy::all -D clippy::pedantic -D clippy::nursery -D clippy::cargo