Skip to content

Commit

Permalink
Attempting to run shellcheck in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Srinivas Muthu committed Dec 9, 2024
1 parent 3ea21cb commit 23b03b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
matrix:
linter:
- golangci-lint
- shellcheck
steps:
- uses: actions/checkout@v4
# - name: Setup Nix
Expand Down
3 changes: 3 additions & 0 deletions modules/flake/linters.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
golangci-lint = pkgs.writeScriptBin "golangci-lint" ''
${pkgs.golangci-lint}/bin/golangci-lint run -v
'';
shellcheck = pkgs.writeScriptBin "shellcheck" ''
${pkgs.shellcheck}/bin/shellcheck -x $(find . -name "*.sh" -type f)
'';
};

apps =
Expand Down

0 comments on commit 23b03b7

Please sign in to comment.