feat: align, rather than indent, error causes #5508
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: Check shell scripts | |
on: | |
pull_request: | |
paths: | |
- 'e2e/**' | |
- '.github/**' | |
- 'scripts/release.sh' | |
- 'scripts/prepare-dfx-assets.sh' | |
- 'scripts/update-frontend-canister.sh' | |
push: | |
branches: | |
- master | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
# When getting Rust dependencies, retry on network error: | |
CARGO_NET_RETRY: 10 | |
# Use the local .curlrc | |
CURL_HOME: . | |
jobs: | |
shellcheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Check e2e scripts | |
run: shellcheck e2e/**/*.*sh | |
- name: Check scripts/ | |
run: shellcheck scripts/*.sh | |