Skip to content

ci: install nix

ci: install nix #36

Workflow file for this run

name: test
on: [push]
jobs:
cargo-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v23
- name: Run fmt
run: nix build -L .#fmt
- name: Run clippy
run: nix build -L .#clippy
- name: Build Nix packages for dev shell
run: nix develop -c $SHELL -c "rustc --version --verbose"
- name: Run tests
run: nix develop -c $SHELL -c "cargo test"