Update Nixpkgs stable #603
Workflow file for this run
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: Rust checks | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
rust-fmt-and-clippy: | |
runs-on: UbuntuLatest32Cores128G | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: DeterminateSystems/nix-installer-action@v4 | |
- uses: DeterminateSystems/magic-nix-cache-action@main | |
- name: Rust formatting | |
run: nix develop --command cargo fmt --check | |
- name: Clippy | |
run: nix develop --command cargo clippy --all-targets --all-features -- -Dwarnings | |
- name: Test | |
run: nix develop --command cargo test --all-features |