Explorar el Código

ci: unblock windows

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
Christina Sørensen hace 1 año
padre
commit
b7bbfc6906
Se han modificado 3 ficheros con 3 adiciones y 1 borrados
  1. 1 0
      .github/workflows/unit-tests.yml
  2. 2 1
      flake.nix
  3. 0 0
      rust-toolchain.toml

+ 1 - 0
.github/workflows/unit-tests.yml

@@ -48,6 +48,7 @@ jobs:
       - name: Run rustfmt checks
         run: cargo fmt --check
       - name: Run clippy lints
+        if: ${{ matrix.os != 'windows-latest' }}
         run: cargo clippy -- -D warnings
       - name: Run unit tests
         run: cargo hack test

+ 2 - 1
flake.nix

@@ -78,7 +78,7 @@
           inherit system overlays;
         };
 
-        toolchain = pkgs.rust-bin.fromRustupToolchainFile .config/rust-toolchain.toml;
+        toolchain = pkgs.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml;
 
         naersk' = pkgs.callPackage naersk {
           cargo = toolchain;
@@ -259,6 +259,7 @@
             with pkgs;
             [
               toolchain
+              rustup
               just
               pandoc
               convco

+ 0 - 0
.config/rust-toolchain.toml → rust-toolchain.toml