File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626
2727 steps :
2828 - name : Checkout code
29- uses : actions/checkout@v4
29+ uses : actions/checkout@v6
3030
3131 - name : Configure and verify
3232 id : config
4545 echo "pyver=3.13" >> $GITHUB_OUTPUT
4646
4747 - name : Set up Python
48- uses : actions/setup-python@v5
48+ uses : actions/setup-python@v6
4949 with :
5050 python-version : ${{ steps.config.outputs.pyver }}
5151
@@ -98,10 +98,10 @@ jobs:
9898
9999 steps :
100100 - name : Checkout code
101- uses : actions/checkout@v4
101+ uses : actions/checkout@v6
102102
103103 - name : Set up Python
104- uses : actions/setup-python@v5
104+ uses : actions/setup-python@v6
105105 with :
106106 python-version : ${{ matrix.pyver }}
107107 architecture : ${{ matrix.arch }}
@@ -151,10 +151,10 @@ jobs:
151151
152152 steps :
153153 - name : Checkout code
154- uses : actions/checkout@v4
154+ uses : actions/checkout@v6
155155
156156 - name : Set up Python
157- uses : actions/setup-python@v5
157+ uses : actions/setup-python@v6
158158 with :
159159 python-version : ${{ needs.main.outputs.pyver }}
160160
Original file line number Diff line number Diff line change @@ -11,6 +11,25 @@ concurrency:
1111 cancel-in-progress : true
1212
1313jobs :
14+ lint :
15+ name : Check code syntax and styling
16+ runs-on : ubuntu-latest
17+
18+ steps :
19+ - name : Checkout code
20+ uses : actions/checkout@v6
21+
22+ - name : Set up Python
23+ uses : actions/setup-python@v6
24+ with :
25+ python-version : ' 3.14'
26+
27+ - name : Install dependencies
28+ run : pip install --group lint
29+
30+ - name : Verify no code issue
31+ run : flake8 .
32+
1433 test :
1534 name : Test ${{ matrix.os }}-${{ matrix.pyver }}-${{ matrix.arch }}
1635 runs-on : ${{ matrix.os }}
@@ -47,10 +66,10 @@ jobs:
4766
4867 steps :
4968 - name : Checkout code
50- uses : actions/checkout@v4
69+ uses : actions/checkout@v6
5170
5271 - name : Set up Python
53- uses : actions/setup-python@v5
72+ uses : actions/setup-python@v6
5473 with :
5574 python-version : ${{ matrix.pyver }}
5675 architecture : ${{ matrix.arch }}
You can’t perform that action at this time.
0 commit comments