Skip to content

Commit 26b531e

Browse files
authored
update to use prek for precommit ci (#24)
1 parent aaceb26 commit 26b531e

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/run-tests.yml.jinja

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ jobs:
2121
python-version: "3.11"
2222
- name: Install the latest version of uv
2323
uses: astral-sh/setup-uv@v6
24-
- uses: pre-commit/action@v3.0.1
24+
# use prek for speedy precommit results
25+
- uses: j178/prek-action@v1
2526
# run pre-commit ci lite for automated fixes
2627
- uses: pre-commit-ci/lite-action@v1.1.0
2728
if: ${{ !cancelled() }}

.github/workflows/test-template.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ jobs:
2121
python-version: "3.11"
2222
- name: Install the latest version of uv
2323
uses: astral-sh/setup-uv@v7
24-
- uses: pre-commit/action@v3.0.1
24+
# use prek for speedy precommit results
25+
- uses: j178/prek-action@v1
2526
# run pre-commit ci lite for automated fixes
2627
- uses: pre-commit-ci/lite-action@v1.1.0
2728
if: ${{ !cancelled() }}

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ repos:
3939
- id: yamllint
4040
exclude: pre-commit-config.yaml
4141
- repo: https://github.com/astral-sh/ruff-pre-commit
42-
rev: "v0.14.14"
42+
rev: "v0.15.0"
4343
hooks:
4444
- id: ruff-format
4545
- id: ruff-check

0 commit comments

Comments
 (0)