Skip to content

chore: add workflow for shell formatting #2

chore: add workflow for shell formatting

chore: add workflow for shell formatting #2

Workflow file for this run

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'