scripts/bootstrap-prefix: make macOS Ventura and up skip GCC5 #304
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: scripts | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Test scripts with `bash -n` | |
run: | | |
shopt -s globstar | |
for script in scripts/**/*.sh; do | |
bash -n "${script}" | |
done | |
- name: Test scripts with ShellCheck | |
uses: ludeeus/action-shellcheck@master | |
with: | |
scandir: "./scripts" |