fix: improve install script compatibility and error handling #14
Workflow file for this run
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: Code Quality | |
| "on": | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| quality: | |
| name: QLTY Code Quality Checks | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Install QLTY | |
| run: curl -s https://qlty.sh | sh | |
| - name: Run QLTY checks | |
| run: | | |
| export QLTY_INSTALL="$HOME/.qlty" | |
| export PATH="$QLTY_INSTALL/bin:$PATH" | |
| "$HOME/.qlty/bin/qlty" check --install-only | |
| "$HOME/.qlty/bin/qlty" check |