Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---

name: Lint

on:
Expand All @@ -16,7 +15,6 @@ permissions: {}

jobs:
build:

strategy:
matrix:
python-version: ['3.13']
Expand All @@ -40,12 +38,17 @@ jobs:
cache-dependency-glob: '**/pyproject.toml'

- name: Lint
# Use bash to ensure the step fails if any command fails.
# PowerShell does not fail on intermediate command failures by default.
shell: bash
run: |
uv run --extra=dev prek run --all-files --hook-stage pre-commit --verbose
uv run --extra=dev prek run --all-files --hook-stage pre-push --verbose
uv run --extra=dev prek run --all-files --hook-stage manual --verbose
env:
UV_PYTHON: ${{ matrix.python-version }}
# hadolint is not available on Windows.
SKIP: ${{ runner.os == 'Windows' && 'hadolint' || '' }}

- uses: pre-commit-ci/lite-action@v1.1.0
if: always()
Expand Down