Skip to content

Commit 6f0aa27

Browse files
projectgusdpgeorge
authored andcommittedFeb 7, 2024
github/workflows: Add comments where tool versions need to be in sync.
This work was funded through GitHub Sponsors. Signed-off-by: Angus Gratton <[email protected]>
1 parent 84e9063 commit 6f0aa27

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed
 

‎.github/workflows/codespell.yml

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v4
10+
# codespell version should be kept in sync with .pre-commit-config.yml
1011
- run: pip install --user codespell==2.2.6 tomli
1112
- run: codespell
1213

‎.github/workflows/ruff.yml

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ jobs:
66
runs-on: ubuntu-latest
77
steps:
88
- uses: actions/checkout@v4
9+
# ruff version should be kept in sync with .pre-commit-config.yaml
910
- run: pip install --user ruff==0.1.3
1011
- run: ruff check --output-format=github .
1112
- run: ruff format --diff .

‎.pre-commit-config.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,13 @@ repos:
1212
verbose: true
1313
stages: [commit-msg]
1414
- repo: https://github.com/charliermarsh/ruff-pre-commit
15+
# Version should be kept in sync with .github/workflows/ruff.yml
1516
rev: v0.1.3
1617
hooks:
1718
- id: ruff
1819
- id: ruff-format
1920
- repo: https://github.com/codespell-project/codespell
21+
# Version should be kept in sync with .github/workflows/codespell.yml
2022
rev: v2.2.6
2123
hooks:
2224
- id: codespell

0 commit comments

Comments
 (0)
Please sign in to comment.