@@ -16,11 +16,11 @@ jobs:
1616 runs-on : ubuntu-latest
1717 steps :
1818 - name : Checkout Scapy
19- uses : actions/checkout@v3
19+ uses : actions/checkout@v4
2020 - name : Setup Python
21- uses : actions/setup-python@v4
21+ uses : actions/setup-python@v5
2222 with :
23- python-version : " 3.10 "
23+ python-version : " 3.12 "
2424 - name : Install tox
2525 run : pip install tox
2626 - name : Run flake8 tests
@@ -32,15 +32,16 @@ jobs:
3232 - name : Run gitarchive check
3333 run : tox -e gitarchive
3434 docs :
35+ # 'runs-on' and 'python-version' should match the ones defined in .readthedocs.yml
3536 name : Build doc
36- runs-on : ubuntu-latest
37+ runs-on : ubuntu-22.04
3738 steps :
3839 - name : Checkout Scapy
39- uses : actions/checkout@v3
40+ uses : actions/checkout@v4
4041 - name : Setup Python
41- uses : actions/setup-python@v4
42+ uses : actions/setup-python@v5
4243 with :
43- python-version : " 3.10 "
44+ python-version : " 3.12 "
4445 - name : Install tox
4546 run : pip install tox
4647 - name : Build docs
@@ -50,11 +51,11 @@ jobs:
5051 runs-on : ubuntu-latest
5152 steps :
5253 - name : Checkout Scapy
53- uses : actions/checkout@v3
54+ uses : actions/checkout@v4
5455 - name : Setup Python
55- uses : actions/setup-python@v4
56+ uses : actions/setup-python@v5
5657 with :
57- python-version : " 3.11 "
58+ python-version : " 3.12 "
5859 - name : Install tox
5960 run : pip install tox
6061 - name : Run mypy
@@ -69,15 +70,15 @@ jobs:
6970 fail-fast : false
7071 matrix :
7172 os : [ubuntu-latest]
72- python : ["3.7", "3.8", "3.9", "3.10"]
73+ python : ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12" ]
7374 mode : [non_root]
7475 installmode : ['']
7576 flags : [" -K scanner"]
7677 allow-failure : ['false']
7778 include :
7879 # Linux root tests
7980 - os : ubuntu-latest
80- python : " 3.10 "
81+ python : " 3.12 "
8182 mode : root
8283 flags : " -K scanner"
8384 # PyPy tests: root only
@@ -87,18 +88,18 @@ jobs:
8788 flags : " -K scanner"
8889 # Libpcap test
8990 - os : ubuntu-latest
90- python : " 3.10 "
91+ python : " 3.12 "
9192 mode : root
9293 installmode : ' libpcap'
9394 flags : " -K scanner"
9495 # macOS tests
9596 - os : macos-12
96- python : " 3.10 "
97+ python : " 3.12 "
9798 mode : both
9899 flags : " -K scanner"
99100 # Scanner tests
100101 - os : ubuntu-latest
101- python : " 3.10 "
102+ python : " 3.12 "
102103 mode : root
103104 allow-failure : ' true'
104105 flags : " -k scanner"
@@ -108,37 +109,37 @@ jobs:
108109 allow-failure : ' true'
109110 flags : " -k scanner"
110111 - os : macos-12
111- python : " 3.10 "
112+ python : " 3.12 "
112113 mode : both
113114 allow-failure : ' true'
114115 flags : " -k scanner"
115116 steps :
116117 - name : Checkout Scapy
117- uses : actions/checkout@v3
118+ uses : actions/checkout@v4
118119 # Codecov requires a fetch-depth > 1
119120 with :
120121 fetch-depth : 2
121122 - name : Setup Python
122- uses : actions/setup-python@v4
123+ uses : actions/setup-python@v5
123124 with :
124125 python-version : ${{ matrix.python }}
125126 - name : Install Tox and any other packages
126127 run : ./.config/ci/install.sh ${{ matrix.installmode }}
127128 - name : Run Tox
128129 run : UT_FLAGS="${{ matrix.flags }}" ./.config/ci/test.sh ${{ matrix.python }} ${{ matrix.mode }}
129130 - name : Codecov
130- uses : codecov/codecov-action@v3
131+ uses : codecov/codecov-action@v4.0.0-beta.3
131132
132133 cryptography :
133134 name : pyca/cryptography test
134135 runs-on : ubuntu-latest
135136 steps :
136137 - name : Checkout repository
137- uses : actions/checkout@v3
138+ uses : actions/checkout@v4
138139 - name : Setup Python
139- uses : actions/setup-python@v4
140+ uses : actions/setup-python@v5
140141 with :
141- python-version : " 3.10 "
142+ python-version : " 3.12 "
142143 - name : Install tox
143144 run : pip install tox
144145 # pyca/cryptography's CI installs cryptography
@@ -156,12 +157,12 @@ jobs:
156157 security-events : write
157158 steps :
158159 - name : Checkout repository
159- uses : actions/checkout@v3
160+ uses : actions/checkout@v4
160161 with :
161162 fetch-depth : 2
162163 - name : Initialize CodeQL
163- uses : github/codeql-action/init@v2
164+ uses : github/codeql-action/init@v3
164165 with :
165166 languages : ' python'
166167 - name : Perform CodeQL Analysis
167- uses : github/codeql-action/analyze@v2
168+ uses : github/codeql-action/analyze@v3
0 commit comments