Add container-based build workflow and improve build tooling #6
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: reviewdog / shellscripts | |
on: | |
push: | |
paths: | |
- tools/build_firmware.sh | |
pull_request: | |
paths: | |
- tools/build_firmware.sh | |
jobs: | |
shellcheck: | |
name: Check shell scripts with shellcheck | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: shellcheck | |
uses: reviewdog/action-shellcheck@v1 | |
with: | |
reporter: github-pr-review | |
path: tools | |
pattern: "*.sh" | |
shfmt: | |
name: Check shell scripts with shfmt | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: reviewdog/action-shfmt@v1 | |
with: | |
level: warning | |
shfmt_flags: '-i 0 ' |