feat: use personal forks when configured #585
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: shellcheck | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
shellcheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: DeterminateSystems/nix-installer-action@v9 | |
- name: installing shellcheck | |
# We're reusing the version from the neovim configuration so that we get expect | |
# exactly the same style locally and in the CI. | |
run: nix profile install ./flakes/nvim/#shellcheck | |
- name: running shellcheck on shell scripts | |
run: | | |
files=$(find . -name '*.sh') | |
IFS=$'\n'; for file in $files; do | |
echo "Running shellcheck on $file" | |
shellcheck "$file" | |
done |