chore: fmt with new nixfmt + 24..11 #3
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: "Test CI" | |
on: [push, pull_request] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone the repository | |
uses: actions/checkout@v4 | |
- name: Install Nix | |
uses: DeterminateSystems/nix-installer-action@main | |
- name: Cache Nix store | |
uses: DeterminateSystems/magic-nix-cache-action@main | |
- name: Build the project | |
run: nix-shell --run "cargo build --release --verbose" | |
- name: Run lint | |
run: nix-shell --run "cargo clippy --verbose" | |
- name: Run tests | |
run: nix-shell --run "cargo test --verbose" | |
- name: Build nix package | |
run: nix build . |