Skip to content

Commit a864c00

Browse files
authored
Update python-package.yml
1 parent 865c671 commit a864c00

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/python-package.yml

+2-5
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,12 @@ on:
88

99
jobs:
1010
build:
11-
1211
runs-on: ubuntu-latest
1312

1413
steps:
15-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v3 # Updated to the latest major version
1615
- name: Set up Python 3.8
17-
uses: actions/setup-python@v2
16+
uses: actions/setup-python@v4 # Updated to the latest major version
1817
with:
1918
python-version: 3.8
2019

@@ -26,9 +25,7 @@ jobs:
2625
2726
- name: Lint with flake8
2827
run: |
29-
# stop the build if there are Python syntax errors or undefined names
3028
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
31-
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
3229
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
3330
3431
- name: Test with pytest

0 commit comments

Comments
 (0)