fix(ci): resolve shellcheck/treefmt failures
Merged
SH
5mo ago+8+8+0123456789-2-2-0123456789
Summary
Fixes the failing GitHub Actions on main (Shell + Nix checks) and adds missing brew CLIs.
Failing GitHub Actions fixed
- Shell / shell-lint was red: ShellCheck flagged
SC2018/SC2019inspec/npm_globals_spec.sh:251(tr 'A-Z' 'a-z'), and since CI runs at default severity the info finding exited non-zero (xargs123). Switched to POSIX classestr '[:upper:]' '[:lower:]'. - Nix / nix-format (and downstream
nix-flake/nix-testviatreefmtcheck) was red: the same spec file was notshfmt-formatted. Applied the formattingtreefmt --fail-on-changerequires.
Both verified locally:
shellcheck spec/npm_globals_spec.sh-> cleannix fmt -- --fail-on-change-> 0 changed
Brew CLIs added (nix-darwin/config/homebrew.nix)
stripe-cli(Stripe CLI;stripeis the homebrew/core alias, so no extra tap needed) - runstripe loginafter installgrafanalokiargo
Summary by cubic
Fixes failing CI checks (ShellCheck and Nix/treefmt) and adds missing Homebrew CLIs. Pipeline is green again and devs get stripe-cli, grafana, loki, and argo.
-
Bug Fixes
- Replaced
tr 'A-Z' 'a-z'withtr '[:upper:]' '[:lower:]'to satisfy ShellCheckSC2018/SC2019in spec/npm_globals_spec.sh. - Applied
shfmtsotreefmt/Nix format checks pass.
- Replaced
-
Dependencies
- Added brews in
nix-darwin/config/homebrew.nix:stripe-cli,grafana,loki,argo.
- Added brews in