👷 Simplify deadnix workflow

This commit is contained in:
Jo 2025-06-20 00:53:02 +02:00 committed by GitHub
parent 92eb3abcdf
commit a9e5e27aab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,7 @@
name: "Nix: check for unused code" name: "Nix: check for unused code"
on: on:
workflow_dispatch:
pull_request: pull_request:
push: push:
paths: paths:
@ -12,17 +13,9 @@ jobs:
name: Run deadnix name: Run deadnix
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - uses: actions/checkout@main
uses: actions/checkout@v4
with:
ref: ${{ github.ref_name }}
persist-credentials: false
- name: Install lix - name: Install lix
uses: ./.github/actions/install-lix uses: ./.github/actions/install-lix
- uses: cachix/cachix-action@v14
with:
name: deadnix
- uses: phucleeuwu/deadnix-action@v1 - uses: phucleeuwu/deadnix-action@v1