diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 74cf294c..20e6509f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,18 +5,6 @@ env: NIXPKGS_ALLOW_BROKEN: "1" NIXPKGS_ALLOW_UNFREE: "1" jobs: - check-outputs: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: cachix/install-nix-action@v16 - with: - nix_path: nixpkgs=channel:nixos-unstable - extra_nix_config: | - keep-going = true - - name: Check flake outputs - run: nix flake check --impure - build-custom-packages: runs-on: ubuntu-latest steps: diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml new file mode 100644 index 00000000..6b2429c8 --- /dev/null +++ b/.github/workflows/check.yml @@ -0,0 +1,19 @@ +name: "Check flake outputs" +on: [pull_request, push] +env: + NIXPKGS_ALLOW_INSECURE: "1" + NIXPKGS_ALLOW_BROKEN: "1" + NIXPKGS_ALLOW_UNFREE: "1" +jobs: + check-outputs: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: cachix/install-nix-action@v16 + with: + nix_path: nixpkgs=channel:nixos-unstable + extra_nix_config: | + keep-going = true + - name: Check flake outputs + run: nix flake check --impure +