Skip to content

Commit 8856af7

Browse files
committed
Merge branch 'ci/pre-commit-fix' into 'master'
ci(actions/pre-commit-check): Update version of ubuntu to latest with Python 3.7 See merge request espressif/esp-idf-panic-decoder!17
2 parents 13a8447 + 667c77c commit 8856af7

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/pre_commit_check.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,23 +9,22 @@ permissions:
99

1010
jobs:
1111
pre_commit_check:
12-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-22.04
1313
steps:
1414
- name: Checkout
15-
uses: actions/checkout@v2
15+
uses: actions/checkout@v4
1616
- name: Fetch head and base refs
1717
# This is necessary for pre-commit to check the changes in the PR branch
1818
run: |
1919
git fetch origin ${{ github.base_ref }}:base_ref
2020
git fetch origin pull/${{ github.event.pull_request.number }}/head:pr_ref
2121
- name: Set up Python environment
22-
uses: actions/setup-python@master
22+
uses: actions/setup-python@v5
2323
with:
2424
python-version: v3.7
2525
- name: Install python packages
2626
run: |
2727
pip install pre-commit
28-
pre-commit install-hooks
2928
- name: Run pre-commit and check for any changes
3029
run: |
3130
echo "Commits being checked:"

0 commit comments

Comments
 (0)