diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d529701..72b5ad9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,10 +13,14 @@ jobs: - uses: actions/checkout@main - uses: DeterminateSystems/nix-installer-action@main - uses: DeterminateSystems/magic-nix-cache-action@main - - name: Run `cargo check` - run: nix develop --command cargo check + - name: Set up nix dev env + run: nix develop --command echo 0 + - name: Run `cargo build` + run: nix develop --command cargo build - name: Run `cargo clippy` run: nix develop --command cargo clippy --all-targets -- -D warnings + - name: Run `cargo test` + run: nix develop --command cargo test - name: Run `cargo fmt` run: nix develop --command cargo fmt --check - name: Run `nix fmt`