Skip to content

Bump the workflows group with 2 updates #81

Bump the workflows group with 2 updates

Bump the workflows group with 2 updates #81

Workflow file for this run

name: CI
on: [pull_request]
jobs:
lint:
timeout-minutes: 2
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v7.0.1
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v10.3.2
with:
python-version: ${{ matrix.python }}
enable-cache: true
- name: Sync lockfile
run: uv sync
- name: Run linting
run: uv run sh ./scripts/lint.sh
prek:
timeout-minutes: 5
name: Validate prek
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v7.0.1
- uses: astral-sh/setup-uv@v10.3.2
- uses: j178/prek-action@v3.1.0
test:
timeout-minutes: 5
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v7.0.1
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v10.3.2
with:
python-version: ${{ matrix.python }}
enable-cache: true
- name: Install deps
run: uv sync
- name: Run linting
run: uv run pytest
build:
timeout-minutes: 5
runs-on: ubuntu-latest
needs: [prek, lint, test]
steps:
- run: echo "This is a dummy job so that we can only require one job for branch protection"