From cf44cd1c694edad2caabee5d402f67d5df0ab6dd Mon Sep 17 00:00:00 2001 From: Jordan Isaacs Date: Fri, 28 Jul 2023 13:27:50 -0700 Subject: [PATCH] Use devshell full in CI --- .github/workflows/ci.yaml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4e8a0e5..0b26e3f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -47,15 +47,11 @@ jobs: uses: cachix/install-nix-action@v22 with: github_access_token: ${{ secrets.GITHUB_TOKEN }} - nix_path: nixpkgs=channel:nixos-unstable - - name: Install Rust - uses: dtolnay/rust-toolchain@master - with: - toolchain: ${{ matrix.channel }} + nix_path: nixpkgs=channel:nixpkgs-unstable - name: Build - run: cargo build --all + run: nix develop .#full --command cargo build --all - name: Test - run: cargo test --all -- --include-ignored + run: nix develop .#full --command cargo test --all -- --include-ignored nix-flake: name: Flake package