Add shellcheck target

This commit is contained in:
0x1eef 2024-04-02 13:40:16 -03:00
parent b89d53c7db
commit ee5dfd0004
2 changed files with 5 additions and 1 deletions

View file

@ -8,7 +8,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: ludeeus/action-shellcheck@master
- run: ./bin/run-shellcheck
- run: make shellcheck
on:
push:
branches: [ main ]

View file

@ -13,3 +13,7 @@ deinstall:
rm -rf $(LIBEXECDIR)
rm -f $(BINDIR)/portzap
rm -f $(MANDIR)/portzap.8
shellcheck:
shellcheck bin/portzap
shellcheck libexec/portzap/*