build(deps-dev): bump ruff from 0.6.9 to 0.9.6 #900
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: Check Lint | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
lint: | |
name: Check Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Poetry Setup | |
uses: snok/install-poetry@v1 | |
- name: Install Dependencies | |
run: poetry install | |
- name: Run Lint Check | |
id: lint | |
run: | | |
set -o pipefail | |
make check 2>&1 | tee lint_output.log | |
continue-on-error: true | |
- name: Lint Failed | |
if: steps.lint.outcome != 'success' | |
run: | | |
echo -e "\033[0;31m Linting failed. See the errors below:\n" | |
cat lint_output.log | |
echo -e "\n\033[0;33m Please, run \`make format\` and push the changes to fix this error." | |
exit 1 | |