File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ name : pre-commit
3
+
4
+ on : [push]
5
+
6
+ concurrency :
7
+ group : ci-${{github.workflow}}-${{ github.ref }}
8
+ cancel-in-progress : true
9
+
10
+ jobs :
11
+ pre-commit :
12
+ runs-on : ubuntu:22.04
13
+ strategy :
14
+ fail-fast : false # don't cancel if a job from the matrix fails
15
+ # steps:
16
+ # # git checkout the PR
17
+ # - uses: actions/checkout@v4
18
+ # with:
19
+ # submodules: 'recursive'
20
+ # - name: Install pre-commit tool
21
+ # run: |
22
+ # apk update
23
+ # apk add python3 py3-pip --no-cache
24
+ # python3 -m pip install pre-commit
25
+ # - name: Install pre-commit in repo
26
+ # run: |
27
+ # pre-commit install
28
+ # - name: Run pre-commit
29
+ # run: |
30
+ # pre-commit run --all-files --verbose --show-diff-on-failure
31
+ steps :
32
+ - uses : actions/checkout@v4
33
+ - uses : actions/setup-python@v3
34
+ -
uses :
pre-commit/[email protected]
You can’t perform that action at this time.
0 commit comments