Skip to content

Commit

Permalink
🔄 Add shellcheck to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
cakeholeDC committed Jun 28, 2024
1 parent a639e0f commit f236747
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/shellcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: shellcheck
on: [push, pull_request]

jobs:
shellcheck:
name: shellcheck
runs-on: ubuntu-latest
steps:
- name: ⤵️ Check out repository
uses: actions/checkout@v3

- name: 🦪 Run shellcheck
uses: sudo-bot/action-shellcheck@latest
with:
# https://github.com/koalaman/shellcheck#how-to-use
cli-args: "*.sh scripts/*.sh"
2 changes: 1 addition & 1 deletion .github/workflows/yaml-lint.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Lint
name: yamllint
on: [push, pull_request]

jobs:
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ A docker-compose based samba server compatible with MacOS's TimeMachine.

Quickly deployable on Raspberry Pi.

![lint](https://github.com/cakeholeDC/timemachine/actions/workflows/yaml-lint.yml/badge.svg)
![yaml-lint](https://github.com/cakeholeDC/timemachine/actions/workflows/yaml-lint.yml/badge.svg)
![shellcheck](https://github.com/cakeholeDC/timemachine/actions/workflows/shellcheck.yml/badge.svg)

## Pre Reqs 👶 🛠
- [docker](https://docs.docker.com/desktop/install/linux-install/)
Expand Down

0 comments on commit f236747

Please sign in to comment.