⚙️ restore .global_config.yaml to .gitignore #485
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: Lint | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| push: | |
| branches: | |
| - '**' | |
| paths-ignore: | |
| - '.github/workflows/**' | |
| jobs: | |
| lint: | |
| if: github.event_name == 'pull_request' || github.event.pull_request == null | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Read Python version | |
| run: echo "PYTHON_VERSION=$(cat .python-version | tr -d '\n')" >> $GITHUB_ENV | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ env.PYTHON_VERSION }} | |
| - name: Install uv | |
| run: curl -LsSf https://astral.sh/uv/install.sh | sh | |
| - name: Add uv to path | |
| run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH | |
| - name: Setup | |
| run: make setup | |
| - name: Run ruff | |
| run: make ruff | |
| - name: Run complexity check | |
| run: make complexity | |
| - name: Run tech debt check | |
| run: make tech_debt | |
| - name: Run duplicate code check | |
| run: make duplicate_code | |
| - name: Run import-linter | |
| run: make import_lint |