File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed
Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change 2525 PIP_DISABLE_PIP_VERSION_CHECK : " 1" # Reduce noise in logs
2626
2727jobs :
28+ pre-commit :
29+ env :
30+ SKIP : pytest,pytype,tox,no-commit-to-branch
31+ runs-on : ubuntu-22.04
32+ steps :
33+ - uses : actions/checkout@v5
34+ - uses : actions/setup-python@v6
35+ with :
36+ python-version : 3.11
37+ - uses : pre-commit/action@v3.0.1
38+ - uses : pre-commit-ci/lite-action@v1.0.3
39+ if : always()
40+
2841 test :
2942 strategy :
3043 # See: https://github.com/xenserver/python-libs/pull/26#discussion_r1179482169
@@ -43,13 +56,13 @@ jobs:
4356 env :
4457 PYTHON_VERSION_USED_FOR_COVERAGE : ${{ '3.11' }}
4558 steps :
46- - uses : actions/checkout@v4
59+ - uses : actions/checkout@v5
4760 with :
4861 fetch-depth : 0 # Needed by diff-cover to get the changed lines: origin/master..HEAD
4962 - name : Set up Python ${{ matrix.python-version }}
5063 # Python 3.11 is not supported in the nektos/act container, so we skip this step
5164 if : ${{ !(matrix.python-version == '3.11' && github.actor == 'nektos/act') }}
52- uses : actions/setup-python@v5
65+ uses : actions/setup-python@v6
5366 with :
5467 python-version : ${{ matrix.python-version }}
5568
You can’t perform that action at this time.
0 commit comments