fix shell globbing #65
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: CI | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: shellcheck | |
env: | |
# SC2006: Use $(..) instead of legacy `..`. | |
# SC2166: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined. | |
# SC2196: egrep is non-standard and deprecated. Use grep -E instead. | |
# SC2197: fgrep is non-standard and deprecated. Use grep -F instead. | |
# SC2015: Note that A && B || C is not if-then-else. C may run when A is true | |
SHELLCHECK_OPTS: -e SC2006 -e SC2166 -e SC2196 -e SC2197 -e SC2015 | |
run: | | |
shellcheck setup | |
shellcheck bin/omni |