Skip to content

Commit 413ec4d

Browse files
committed
Use reusable lint workflow
1 parent 4171768 commit 413ec4d

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +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.3.0
20-
with:
21-
python-version: '3.12'
22-
- uses: pre-commit/action@v3.0.1
12+
uses: tskit-dev/.github/.github/workflows/lint.yml@v1
2313

2414
test:
2515
name: Python

0 commit comments

Comments
 (0)