👷 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"
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