Mirror of https://github.com/roostorg/osprey github.com/roostorg/osprey
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ci: update code quality workflow (#47)

authored by

Caidan and committed by
GitHub
d999ccb3 41df3239

+11 -19
+11 -19
.github/workflows/code-quality.yml
··· 5 5 branches: [main] 6 6 types: [opened, synchronize, reopened, ready_for_review] 7 7 8 + concurrency: 9 + group: ${{ github.workflow }}-${{ github.ref }} 10 + cancel-in-progress: true 11 + 8 12 jobs: 9 13 python-quality: 10 - runs-on: ubuntu-latest 14 + runs-on: ubuntu-24.04 11 15 steps: 12 16 - name: Checkout code 13 17 uses: actions/checkout@v4 14 18 15 - - name: Install uv 16 - uses: astral-sh/setup-uv@v4 17 - with: 18 - version: "latest" 19 - 20 19 - name: Set up Python 21 - uses: actions/setup-python@v5 20 + uses: actions/setup-python@v6 22 21 with: 23 - python-version: "3.11" 22 + python-version-file: ".python-version" 24 23 25 - - name: Cache uv dependencies 26 - uses: actions/cache@v4 24 + - name: Install uv 25 + uses: astral-sh/setup-uv@v7 27 26 with: 28 - path: ~/.cache/uv 29 - key: uv-${{ runner.os }}-${{ hashFiles('**/pyproject.toml', '**/uv.lock') }} 30 - restore-keys: | 31 - uv-${{ runner.os }}- 32 - uv- 27 + version: "latest" 28 + enable-cache: true 33 29 34 30 - name: Install dependencies 35 31 run: uv sync --dev ··· 42 38 43 39 - name: Run mypy type checking 44 40 run: uv run mypy . 45 - 46 - - name: Run tests 47 - run: uv run pytest 48 - continue-on-error: true # Remove once the tests are working 49 41 50 42 ui-quality: 51 43 runs-on: ubuntu-latest