Skip to content

Commit

Permalink
chore: add workflow for shell formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosmmatos committed Dec 21, 2023
1 parent 477dbb4 commit 97b5011
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/shell_format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
on:
push:
paths:
- 'bash/**'
- '.github/workflows/shell_format.yml'

pull_request:
paths:
- 'bash/**'
- '.github/workflows/shell_format.yml'

jobs:
shfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run shfmt with reviewdog
uses: reviewdog/action-shfmt@v1.0.2
with:
workdir: ./bash
shfmt_flags: -i 4 -ci


0 comments on commit 97b5011

Please sign in to comment.