Skip to content

chore: 🔧 enforce type checking with ty (fixes #16) #48

chore: 🔧 enforce type checking with ty (fixes #16)

chore: 🔧 enforce type checking with ty (fixes #16) #48

Workflow file for this run

name: Lint
on:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v7
with:
# grab the history of the PR, so we can run prek on a commit range
fetch-depth: 0
- name: Run prek for linting
uses: j178/prek-action@v3.0.0
env:
RUFF_OUTPUT_FORMAT: github
with:
extra-args: --from-ref ${{ github.event.pull_request.base.sha }} --to-ref ${{ github.event.pull_request.head.sha }}