File tree Expand file tree Collapse file tree 1 file changed +1
-18
lines changed Expand file tree Collapse file tree 1 file changed +1
-18
lines changed Original file line number Diff line number Diff line change 99jobs :
1010 pre-commit :
1111 name : Lint
12- runs-on : ubuntu-24.04
13- steps :
14- - name : Cancel Previous Runs
15- uses : styfle/cancel-workflow-action@0.12.1
16- with :
17- access_token : ${{ github.token }}
18- - uses : actions/checkout@v4.2.2
19- - uses : actions/setup-python@v5.4.0
20- with :
21- python-version : ' 3.12'
22- - name : install clang-format
23- if : steps.clang_format.outputs.cache-hit != 'true'
24- run : |
25- pip install setuptools clang-format==6.0.1
26- clang-format -version
27- sudo cp /opt/hostedtoolcache/Python/3.12.11/x64/bin/clang-format /opt/hostedtoolcache/Python/3.12.11/x64/bin/clang-format-6.0
28- clang-format-6.0 -version
29- - uses : pre-commit/action@v3.0.1
12+ uses : tskit-dev/.github/.github/workflows/lint.yml@v1
3013
3114 test :
3215 name : Python
You can’t perform that action at this time.
0 commit comments