Bug caching - capitalise tickers #158
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: CI - Pre-commit Auto-Fix & Lint | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # 1. Checkout repository | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| # 2. Setup Python | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| cache: 'pip' | |
| # 3. Install dependencies | |
| - name: Install lint dependencies | |
| run: | | |
| pip install --upgrade pip | |
| pip install black==25.1.0 isort==5.12.0 ruff==0.13.3 pytest==8.4.2 pre-commit | |
| # 4. Run pre-commit hooks with auto-fix | |
| - name: Run pre-commit hooks (auto-fix) | |
| run: | | |
| pre-commit run --all-files --show-diff-on-failure --hook-stage manual |