We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1757db commit b73cdf7Copy full SHA for b73cdf7
1 file changed
.github/workflows/tests.yml
@@ -9,24 +9,7 @@ on:
9
jobs:
10
pre-commit:
11
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
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
+ uses: tskit-dev/.github/.github/workflows/lint.yml@v1
30
31
test:
32
name: Python
0 commit comments