MNT-93: Add image tagging script #7
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: Checks | |
| on: | |
| push: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| checks: | |
| name: Run checks | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Install Cairo on Ubuntu | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y python3-gi python3-gi-cairo gir1.2-gtk-3.0 libraw-dev libcairo2-dev libgirepository1.0-dev gobject-introspection | |
| - name: Check out the repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version-file: "pyproject.toml" | |
| - name: Setup UV | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| enable-cache: true | |
| - name: Install dependencies | |
| shell: bash | |
| run: | | |
| uv sync --locked --all-extras --dev | |
| - name: Run pre-commit hooks | |
| run: | | |
| uv run ty check | |
| uv run pre-commit run |