diff --git a/.github/workflows/check-inputs.yml b/.github/workflows/check-inputs.yml new file mode 100644 index 0000000..3fded8e --- /dev/null +++ b/.github/workflows/check-inputs.yml @@ -0,0 +1,21 @@ +name: "Check flake inputs" + +on: + push: + branches: ["main"] + pull_request: + branches: ["main"] + +jobs: + check-inputs: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - name: Install Nix + uses: DeterminateSystems/nix-installer-action@v3 + + - name: Check Nix flake Nixpkgs inputs + uses: DeterminateSystems/flake-checker-action@v4 + with: + send-statistics: false diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml deleted file mode 100644 index f04c108..0000000 --- a/.github/workflows/check.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: "Check flake" - -on: - push: - paths: - - "**.nix" - - "**.lock" - - ".github/workflows/check.yml" - -jobs: - check: - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v3 - - name: Install Nix - uses: cachix/install-nix-action@v22 - - - name: Check Nix flake Nixpkgs inputs - uses: DeterminateSystems/flake-checker-action@main - with: - send-statistics: false