From a9e5e27aab819fd4133146e7aa0c16876ecac6b4 Mon Sep 17 00:00:00 2001 From: Jo Date: Fri, 20 Jun 2025 00:53:02 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Simplify=20deadnix=20workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deadnix.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/deadnix.yml b/.github/workflows/deadnix.yml index 23f0b46..e7a32dd 100644 --- a/.github/workflows/deadnix.yml +++ b/.github/workflows/deadnix.yml @@ -1,6 +1,7 @@ name: "Nix: check for unused code" on: + workflow_dispatch: pull_request: push: paths: @@ -12,17 +13,9 @@ jobs: name: Run deadnix runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v4 - with: - ref: ${{ github.ref_name }} - persist-credentials: false - + - uses: actions/checkout@main + - name: Install lix uses: ./.github/actions/install-lix - - uses: cachix/cachix-action@v14 - with: - name: deadnix - - uses: phucleeuwu/deadnix-action@v1