Skip to content

Commit 6504850

Browse files
committed
chore: make CI run pre-commit
1 parent db18eba commit 6504850

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,18 @@ on:
1111
- "README.md"
1212

1313
jobs:
14+
lint:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v4
19+
20+
- name: Run pre-commit
21+
run: pipx run pre-commit run --all-files --show-diff-on-failure
22+
env:
23+
# SKIP ggshield check: it's done by the "scanning" job
24+
SKIP: ggshield
25+
1426
build-and-test:
1527
runs-on: ${{ matrix.os }}
1628
strategy:

0 commit comments

Comments
 (0)