WIP: Use dev image to test #34
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: Lint actions | |
on: | |
push: | |
pull_request: | |
# Make sure there is no pipeline running uselessly. | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }}-b # -b should be removed, just for separate workflows in this repository | |
cancel-in-progress: true | |
jobs: | |
lints: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install shellcheck | |
run: sudo apt-get install -y shellcheck | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Run shellcheck on all shell files | |
run: find . \( -name '*.sh' -or -name '*.bash' \) -exec shellcheck --color=always {} + |