Skip to content

Commit 0f5d2ca

Browse files
authored
Upgrade GitHub Actions
1 parent 230166e commit 0f5d2ca

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/lint_python.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ jobs:
44
lint_python:
55
runs-on: ubuntu-latest
66
steps:
7-
- uses: actions/checkout@v2
8-
- uses: actions/setup-python@v2
7+
- uses: actions/checkout@v3
8+
- uses: actions/setup-python@v4
9+
with:
10+
python-version: 3.x
911
- run: pip install --upgrade pip
1012
- run: pip install black codespell flake8 isort mypy pytest pyupgrade tox
1113
- run: black --check .
@@ -17,4 +19,4 @@ jobs:
1719
- run: mypy --ignore-missing-imports . || true
1820
- run: pytest .
1921
- run: pytest --doctest-modules . || true
20-
- run: shopt -s globstar && pyupgrade --py36-plus **/*.py
22+
- run: shopt -s globstar && pyupgrade --py37-plus **/*.py

0 commit comments

Comments
 (0)