Skip to content

ci: use nixpkgs unstable channel #90

ci: use nixpkgs unstable channel

ci: use nixpkgs unstable channel #90

Workflow file for this run

name: Rust
on: [push, pull_request]
jobs:
check:
name: Check and test Rust code
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Cache Rust dependencies
uses: Swatinem/rust-cache@v2
- run: cargo check
- run: cargo test
- run: cargo fmt --all -- --check
- run: cargo clippy -- -D warnings