Skip to content

Commit 0dede07

Browse files
committed
ci: add test for only-changed
1 parent a1edc42 commit 0dede07

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/ci.yaml

+13
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,19 @@ jobs:
2222
- name: Pre-commit
2323
uses: ./
2424

25+
test-only-changed:
26+
name: Test / Only changed
27+
runs-on: ubuntu-latest
28+
steps:
29+
- name: Checkout
30+
uses: actions/checkout@v4
31+
with:
32+
fetch-depth: 0
33+
- name: Pre-commit
34+
uses: ./
35+
with:
36+
only-changed: true
37+
2538
test-pre-installed:
2639
name: Test / Pre-commit exists
2740
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)