Skip to content

Commit 3efd29f

Browse files
chore: bump shared workflows to v14 and use uv run in prek
1 parent a72866c commit 3efd29f

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ on:
88
merge_group:
99
jobs:
1010
Docs:
11-
uses: tskit-dev/.github/.github/workflows/docs.yml@v12
11+
uses: tskit-dev/.github/.github/workflows/docs.yml@v14

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ on:
55

66
jobs:
77
Lint:
8-
uses: tskit-dev/.github/.github/workflows/lint.yml@v12
8+
uses: tskit-dev/.github/.github/workflows/lint.yml@v14

.github/workflows/tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,25 @@ jobs:
1010

1111
packaging:
1212
name: Python packaging
13-
uses: tskit-dev/.github/.github/workflows/python-packaging.yml@v12
13+
uses: tskit-dev/.github/.github/workflows/python-packaging.yml@v14
1414
with:
1515
cli-test-cmd: tsinfer --help
1616

1717
test-c:
1818
name: C tests
19-
uses: tskit-dev/.github/.github/workflows/c-tests.yml@v12
19+
uses: tskit-dev/.github/.github/workflows/c-tests.yml@v14
2020
with:
2121
library-directory: lib
2222
secrets: inherit
2323

2424
test-python-c:
2525
name: Python-C tests
26-
uses: tskit-dev/.github/.github/workflows/python-c-tests.yml@v12
26+
uses: tskit-dev/.github/.github/workflows/python-c-tests.yml@v14
2727
secrets: inherit
2828

2929
test:
3030
name: Python
31-
uses: tskit-dev/.github/.github/workflows/python-tests.yml@v12
31+
uses: tskit-dev/.github/.github/workflows/python-tests.yml@v14
3232
with:
3333
os: ${{ matrix.os }}
3434
python-version: ${{ matrix.python }}

.github/workflows/wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
build-wheels:
11-
uses: tskit-dev/.github/.github/workflows/build-wheels.yml@v12
11+
uses: tskit-dev/.github/.github/workflows/build-wheels.yml@v14
1212

1313
publish:
1414
runs-on: ubuntu-24.04

prek.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ hooks = [
3636
id = "ruff-check",
3737
name = "ruff check",
3838
language = "system",
39-
entry = "ruff check --fix --force-exclude",
39+
entry = "uv run --group=lint ruff check --fix --force-exclude",
4040
types = ["python"],
4141
},
4242
]
@@ -48,7 +48,7 @@ hooks = [
4848
id = "ruff-format",
4949
name = "ruff format",
5050
language = "system",
51-
entry = "ruff format --force-exclude",
51+
entry = "uv run --group=lint ruff format --force-exclude",
5252
types = ["python"],
5353
},
5454
]
@@ -60,7 +60,7 @@ hooks = [
6060
id = "clang-format",
6161
name = "clang-format",
6262
language = "system",
63-
entry = "clang-format -i",
63+
entry = "uv run --group=lint clang-format -i",
6464
types = ["c"],
6565
verbose = true,
6666
},

0 commit comments

Comments
 (0)