Skip to content

Commit

Permalink
added shellCheck for bash formatting
Browse files Browse the repository at this point in the history
Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
  • Loading branch information
hansinikarunarathne committed Jul 1, 2024
1 parent 828c67d commit 6456723
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/bash_formatter.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Proper Formatting on bash files

on: [push, pull_request]

jobs:
format_bash_files:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Install ShellCheck
run: sudo apt install -y shellcheck

- name: Run ShellCheck
run: find . -type f -name "*.sh" -exec shellcheck {} +

0 comments on commit 6456723

Please sign in to comment.