fix: support using non brew iina as a player on macos #336
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: 'ani-cli checks' | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
paths: | |
- "**ani-cli" | |
jobs: | |
sh-checker: | |
name: Shellcheck + Shfmt | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run the sh-checker | |
uses: luizm/action-sh-checker@master | |
env: | |
SHELLCHECK_OPTS: -s sh -o all -e 2250 | |
SHFMT_OPTS: -i 4 -ci -d | |
check-exec: | |
name: Executable Bit | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: test exec bit | |
run: test -x "./ani-cli" | |
check-no-awk: | |
name: No Awk Allowed | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: verify that noone added awk | |
run: '! grep awk "./ani-cli"' |