Skip to content

Use updated syntax and label #3

Use updated syntax and label

Use updated syntax and label #3

Workflow file for this run

name: Check Shell scripts
on:
pull_request:
jobs:
shfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: docker run --rm -v "$(pwd)":/sh -w /sh mvdan/shfmt:v3.1.1 -sr -i 2 -l -w -ci .
- run: git diff --color --exit-code
shellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: shellcheck *.sh