Skip to content

Commit 9b2272b

Browse files
committed
Use reusable lint workflow
1 parent f5b5d4a commit 9b2272b

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,13 @@ name: Tests
33
on:
44
pull_request:
55
push:
6-
branches: [main]
6+
branches: [main, test]
77
merge_group:
88

99
jobs:
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-
- name: install clang-format
21-
run: |
22-
pip install clang-format==6.0.1
23-
- uses: pre-commit/action@v3.0.1
12+
uses: tskit-dev/.github/.github/workflows/lint.yml@v1
2413

2514
test:
2615
name: Python

0 commit comments

Comments
 (0)