v8 uses immutable releases (no major/minor tags) for supply chain security. Pinning to exact version tag per upstream recommendation.
25 lines
603 B
YAML
25 lines
603 B
YAML
name: Lint
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- 'codeflash/**'
|
|
- 'tests/**'
|
|
- 'packages/**'
|
|
- 'pyproject.toml'
|
|
- 'uv.lock'
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref_name }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
prek:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
- uses: astral-sh/setup-uv@v8.0.0
|
|
- uses: j178/prek-action@v1
|
|
with:
|
|
extra-args: '--from-ref origin/${{ github.base_ref }} --to-ref ${{ github.sha }}'
|