scripts/bootstrap-prefix: don't hang on to host linker in stage2 #438
This file contains hidden or 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" |