profile: defer compinit to Oh My Zsh and quote fpath expansion #38
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: ShellCheck | |
| on: | |
| push: | |
| branches: [ master, main ] | |
| pull_request: | |
| branches: [ master, main ] | |
| jobs: | |
| shellcheck: | |
| name: Shellcheck | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: false | |
| - name: Run ShellCheck | |
| uses: ludeeus/action-shellcheck@master | |
| with: | |
| scandir: '.' | |
| severity: warning | |
| ignore_paths: | | |
| profile/vim | |
| .git | |
| node_modules | |
| env: | |
| SHELLCHECK_OPTS: -e SC1090 -e SC1091 | |
| - name: Check install.sh specifically | |
| run: | | |
| shellcheck install.sh | |
| - name: Check all shell config files | |
| run: | | |
| find profile/sh_config.d -name "*.sh" -exec shellcheck {} + | |
| - name: Check all shell function files | |
| run: | | |
| find profile/sh_functions.d -name "*.bash" -exec shellcheck {} + |