Your one-stop-cake-shop for everything Freshly Baked has to offer

ci: add deadnix #40

merged opened by a.starrysky.fyi targeting main from private/minion/push-vmslusqkrqom

deadnix is a package to find unused nix code, we can add it to enforce that we don't leave let bindings/inputs/etc. around when they are not needed

Labels

None yet.

requested-reviewers

None yet.

approved

None yet.

tested-working

None yet.

rejected

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:uuyqs6y3pwtbteet4swt5i5y/sh.tangled.repo.pull/3lzosuzwcwg22
+5 -1
Interdiff #0 #1
+5 -1
.tangled/workflows/deadnix.yml
··· 10 11 dependencies: 12 nixpkgs: 13 - deadnix 14 15 steps: 16 - name: Check for unused nix bindings 17 - command: deadnix --exclude **/npins --fail
··· 10 11 dependencies: 12 nixpkgs: 13 + - ansifilter 14 - deadnix 15 16 steps: 17 - name: Check for unused nix bindings 18 + command: | 19 + set -eo pipefail 20 + 21 + deadnix --exclude **/npins --no-underscore --fail | ansifilter
packetmix/nilla.nix

This file has not been changed.

History

5 rounds 0 comments
sign up or login to add to the discussion
2 commits
expand
style: remove dead code
ci(treewide): add deadnix
expand 0 comments
pull request successfully merged
2 commits
expand
style: remove dead code
ci(treewide): add deadnix
expand 0 comments
2 commits
expand
style: remove dead code
ci(treewide): add deadnix
expand 0 comments
1 commit
expand
ci(treewide): add deadnix
expand 0 comments
1 commit
expand
ci: add deadnix
expand 0 comments