Skip to content

Commit

Permalink
Add Bash CI
Browse files Browse the repository at this point in the history
  • Loading branch information
bateller authored May 5, 2023
1 parent c8bd157 commit e95506e
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/bash_ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: bash_ci
on:
- pull_request
jobs:
sh-checker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run the sh-checker
uses: luizm/action-sh-checker@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SHELLCHECK_OPTS: -e SC1004 # exclude some shellcheck warnings.
SHFMT_OPTS: -s # arguments to shfmt.
with:
sh_checker_comment: true
sh_checker_exclude: ".terraform ^dir/example.sh"

0 comments on commit e95506e

Please sign in to comment.