diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 76c3208..154f3b2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,17 +35,11 @@ jobs: - name: Checkout sources uses: actions/checkout@v2 - - name: Install stable toolchain - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - override: true + - name: Install nix + uses: cachix/install-nix-action@v18 - - name: Run cargo test - uses: actions-rs/cargo@v1 - with: - command: test + - name: Run tests + run: nix develop --command cargo test lints: name: Lints