mirror of
https://github.com/licsber/micropython.git
synced 2024-09-19 16:40:23 +08:00
github/workflows: Add comments where tool versions need to be in sync.
This work was funded through GitHub Sponsors. Signed-off-by: Angus Gratton <angus@redyak.com.au>
This commit is contained in:
parent
84e90639fa
commit
6f0aa275f8
1
.github/workflows/codespell.yml
vendored
1
.github/workflows/codespell.yml
vendored
@ -7,6 +7,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
# codespell version should be kept in sync with .pre-commit-config.yml
|
||||||
- run: pip install --user codespell==2.2.6 tomli
|
- run: pip install --user codespell==2.2.6 tomli
|
||||||
- run: codespell
|
- run: codespell
|
||||||
|
|
||||||
|
1
.github/workflows/ruff.yml
vendored
1
.github/workflows/ruff.yml
vendored
@ -6,6 +6,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
# ruff version should be kept in sync with .pre-commit-config.yaml
|
||||||
- run: pip install --user ruff==0.1.3
|
- run: pip install --user ruff==0.1.3
|
||||||
- run: ruff check --output-format=github .
|
- run: ruff check --output-format=github .
|
||||||
- run: ruff format --diff .
|
- run: ruff format --diff .
|
||||||
|
@ -12,11 +12,13 @@ repos:
|
|||||||
verbose: true
|
verbose: true
|
||||||
stages: [commit-msg]
|
stages: [commit-msg]
|
||||||
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
||||||
|
# Version should be kept in sync with .github/workflows/ruff.yml
|
||||||
rev: v0.1.3
|
rev: v0.1.3
|
||||||
hooks:
|
hooks:
|
||||||
- id: ruff
|
- id: ruff
|
||||||
- id: ruff-format
|
- id: ruff-format
|
||||||
- repo: https://github.com/codespell-project/codespell
|
- repo: https://github.com/codespell-project/codespell
|
||||||
|
# Version should be kept in sync with .github/workflows/codespell.yml
|
||||||
rev: v2.2.6
|
rev: v2.2.6
|
||||||
hooks:
|
hooks:
|
||||||
- id: codespell
|
- id: codespell
|
||||||
|
Loading…
Reference in New Issue
Block a user