Skip to content

Commit 64d1815

Browse files
benjefferyclaude
andcommitted
Use reusable lint workflow
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent f5b5d4a commit 64d1815

1 file changed

Lines changed: 2 additions & 14 deletions

File tree

.github/workflows/tests.yml

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,12 @@ 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:
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-
- name: install clang-format
21-
run: |
22-
pip install clang-format==6.0.1
23-
- uses: pre-commit/action@v3.0.1
11+
uses: tskit-dev/.github/.github/workflows/lint.yml@v1
2412

2513
test:
2614
name: Python

0 commit comments

Comments
 (0)