@@ -5,32 +5,31 @@ name: Python application
55
66on :
77 push :
8- branches : [ "main" ]
8+ branches : ["main"]
99 pull_request :
10- branches : [ "main" ]
10+ branches : ["main"]
1111
1212permissions :
1313 contents : read
1414
1515jobs :
1616 build :
17-
1817 runs-on : ubuntu-latest
1918
2019 steps :
21- - uses : actions/checkout@v4
22- - name : Set up Python 3.10
23- uses : actions/setup-python@v3
24- with :
25- python-version : " 3.10 "
26- - name : Install dependencies
27- run : |
28- python -m pip install --upgrade pip
29- pip install flake8 pytest
30- if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
31- - name : Lint with flake8
32- run : |
33- # stop the build if there are Python syntax errors or undefined names
34- flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
35- # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
36- flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
20+ - uses : actions/checkout@v4
21+ - name : Set up Python 3.14t
22+ uses : actions/setup-python@v6.2.0
23+ with :
24+ python-version : " 3.14t "
25+ - name : Install dependencies
26+ run : |
27+ python -m pip install --upgrade pip
28+ pip install flake8 pytest
29+ if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
30+ - name : Lint with flake8
31+ run : |
32+ # stop the build if there are Python syntax errors or undefined names
33+ flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
34+ # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
35+ flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
0 commit comments