File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -9,23 +9,22 @@ permissions:
99
1010jobs :
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:"
You can’t perform that action at this time.
0 commit comments