Skip to content

Commit a9f71de

Browse files
authored
ci: add lint job using prek (#60)
Run prek to execute pre-commit hooks in CI (dogfooding + builtin hooks like trailing-whitespace, end-of-file-fixer, check-yaml).
1 parent 564dda4 commit a9f71de

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,16 @@ concurrency:
1212
cancel-in-progress: true
1313

1414
jobs:
15+
lint:
16+
name: Lint
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
20+
with:
21+
persist-credentials: false
22+
- name: Run prek
23+
uses: ./
24+
1525
test:
1626
strategy:
1727
matrix:

0 commit comments

Comments
 (0)