cleanup-refactor: v2.0 cleanup overhaul #15
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 | |
| on: | |
| push: | |
| branches: ["main", "master"] | |
| pull_request: | |
| branches: ["main", "master"] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.13"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install Pipenv | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install pipenv | |
| - name: Install system dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libcairo2-dev pkg-config python3-dev | |
| - name: Install dependencies | |
| run: pipenv install --dev --system | |
| - name: Run Ruff (Lint) | |
| run: verbose=1 pipenv run ruff check . | |
| - name: Run Ruff (Format Check) | |
| run: verbose=1 pipenv run ruff format --check . |