File tree Expand file tree Collapse file tree 2 files changed +35
-3
lines changed Expand file tree Collapse file tree 2 files changed +35
-3
lines changed Original file line number Diff line number Diff line change 1+ name : Check pre-commit hooks
2+
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+ workflow_dispatch :
8+
9+ env :
10+ FORCE_COLOR : " 1"
11+
12+ jobs :
13+ tests-using-pixi :
14+ timeout-minutes : 10
15+ runs-on : ubuntu-latest
16+ steps :
17+ - name : Check out the repository
18+ uses : actions/checkout@v4
19+ with :
20+ fetch-depth : 0
21+
22+ - name : Install Pixi
23+ uses :
prefix-dev/[email protected] 24+ with :
25+ pixi-version : " latest"
26+ run-install : false
27+
28+ - name : Install pre-commit
29+ run : pixi global install pre-commit
30+
31+ - name : install pre-commit hooks
32+ run : pre-commit install
33+
34+ - name : Run pre-commit hooks
35+ run : pre-commit run --all --show-diff-on-failure
Original file line number Diff line number Diff line change 3636
3737 - name : Run tests
3838 run : pixi run --environment dev test
39-
40- - name : Run pre-commit hooks
41- run : pixi run pre-commit-hooks
You can’t perform that action at this time.
0 commit comments