File tree Expand file tree Collapse file tree 2 files changed +5
-16
lines changed Expand file tree Collapse file tree 2 files changed +5
-16
lines changed Original file line number Diff line number Diff line change 88
99 steps :
1010 - name : Checkout repository
11- uses : actions/checkout@v3
11+ uses : actions/checkout@v4
1212
13- - name : Define python
14- run : echo "PYTHON_VERSION=$(cat .python-version)" >> $GITHUB_ENV
15-
16- - name : Install python version
17- uses : gabrielfalcao/pyenv-action@v11
18- with :
19- default : " ${{ env.PYTHON_VERSION }}"
20- command : pip install -U pip
13+ - name : Set up Python
14+ uses : actions/setup-python@v5 # defaults to .python-version
2115
2216 - name : Show python version
2317 run : python --version
2418
25- - name : Install dependencies
26- run : |
27- pip install pre-commit
28- pre-commit install
29-
3019 - name : Run pre-commit
31- run : pre-commit run --all-files
20+ uses :
pre-commit/[email protected]
Original file line number Diff line number Diff line change 3939 - id : pyupgrade
4040 name : upgrade code
4141 - repo : https://github.com/hadialqattan/pycln
42- rev : v2.2.2
42+ rev : v2.5.0 # https://github.com/hadialqattan/pycln/issues/249
4343 hooks :
4444 - id : pycln
4545 args : [--all, --expand-stars]
You can’t perform that action at this time.
0 commit comments