Nixify shellcheck
Add shellcheck command to flake.nix and use it in the Gitlab
This commit is contained in:
+3
-3
@@ -51,9 +51,9 @@ validate:
|
||||
|
||||
shellcheck:
|
||||
stage: lint
|
||||
script: |-
|
||||
shellcheck --version
|
||||
shellcheck -e SC2239 $(find . -name '*.sh')
|
||||
tags:
|
||||
- nix
|
||||
script: nix run ".#shellcheck"
|
||||
|
||||
# Downloads all the ISO files so that we have a single cache with all
|
||||
# of them present. This prevents a race condition where some of the
|
||||
|
||||
Reference in New Issue
Block a user