Skip to content

Commit

Permalink
chore: add schell check at CI
Browse files Browse the repository at this point in the history
  • Loading branch information
YasminTeles committed Mar 17, 2024
1 parent b98f7d3 commit 2ed48fb
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/health-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,12 @@ jobs:
uses: gitleaks/gitleaks-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

ShellCheck:
runs-on: ubuntu-latest
steps:
- name: Check out the repository code
uses: actions/checkout@v4

- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: help del ssh backup
.PHONY: help del ssh backup check-scripts

help: ## Show help.
@printf "A set of environment management commands.\n"
Expand All @@ -22,3 +22,7 @@ ssh: ## Copy the SSH public key to your clipboard.
backup: ## Back up your applications list.
@echo "Backing up your applications list..."
@brew bundle dump --file=./brew/Brewfile --force

check-scripts: ## Check the shell script.
@echo "Checking the shell script..."
@schellcheck *.sh
1 change: 1 addition & 0 deletions brew/Brewfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ tap "homebrew/services"
# Essentials
brew "stow"
brew "git"
brew "shellcheck"

# Terminal
brew "spaceship"
Expand Down

0 comments on commit 2ed48fb

Please sign in to comment.