Skip to content

chore: bump ruff from 0.15.22 to 0.16.0 (#284) #424

chore: bump ruff from 0.15.22 to 0.16.0 (#284)

chore: bump ruff from 0.15.22 to 0.16.0 (#284) #424

Workflow file for this run

---
name: CI
on:
push:
permissions: {}
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: opensafely-core/setup-action@d9171097dd0d37bdb7bed58f701eb03ff317ed17 # v1.7.0
with:
python-version: "3.10"
cache-dependency-path: requirements.*.txt
install-just: true
- name: Check formatting, linting and import sorting
run: just check
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: opensafely-core/setup-action@d9171097dd0d37bdb7bed58f701eb03ff317ed17 # v1.7.0
with:
python-version: ${{ matrix.python-version }}
cache-dependency-path: requirements.*.txt
install-just: true
- name: Run tests
env:
PYTHON_VERSION: python${{ matrix.python-version }}
run: just test