Skip to content

Commit 6eb65dc

Browse files
workflow: always run pre-commit check
- always run pre-commit on all files - updated actions solving: ``` The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-python@v4, actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/ ``` Signed-off-by: Sandro Bonazzola <[email protected]>
1 parent ce6a9cf commit 6eb65dc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: .github/workflows/pre-commit.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ jobs:
1010

1111
steps:
1212
- name: Install Python
13-
uses: actions/setup-python@v4
13+
uses: actions/setup-python@v5
1414
with:
1515
python-version: '3.10'
1616

1717
- name: Checkout code
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v4
1919

2020
- name: Setup environment
2121
run: |
@@ -24,4 +24,4 @@ jobs:
2424
2525
- name: Run precommit check
2626
run: |
27-
pre-commit run --file tests/* --files demos/*
27+
pre-commit run --all

0 commit comments

Comments
 (0)