2424 persist-credentials : false
2525 - uses : actions/setup-python@v2
2626 with :
27- python-version : ' 3.10 '
27+ python-version : ' 3.11 '
2828 - run : pip install tox
2929 - run : tox -e flake8
3030 filename-matching :
3535 persist-credentials : false
3636 - uses : actions/setup-python@v2
3737 with :
38- python-version : ' 3.10 '
38+ python-version : ' 3.11 '
3939 - run : pip install tox
4040 - run : tox -e filename_matching
4141 mypy :
4646 persist-credentials : false
4747 - uses : actions/setup-python@v2
4848 with :
49- python-version : ' 3.10 '
49+ python-version : ' 3.11 '
5050 - run : pip install tox
5151 - run : tox -e mypy
5252 individual-coverage :
@@ -67,11 +67,11 @@ jobs:
6767 matrix :
6868 include :
6969 - os : ubuntu-latest
70- py : " 3.10 "
70+ py : " 3.11 "
7171 - os : windows-latest
72- py : " 3.10 "
72+ py : " 3.11 "
7373 - os : macos-latest
74- py : " 3.10 "
74+ py : " 3.11 "
7575 - os : ubuntu-latest
7676 py : 3.9
7777 runs-on : ${{ matrix.os }}
9090 - name : Run tox -e py (without internet)
9191 run : |
9292 # install dependencies (requires internet connectivity)
93- tox -e py --notest
93+ tox -e py --notest
9494 # run tests with loopback only. We need to sudo for unshare, which means we need an absolute path for tox.
95- sudo unshare --net -- sh -c "ip link set lo up; $(which tox) -e py"
95+ sudo unshare --net -- sh -c "ip link set lo up; $(which tox) -e py"
9696 if : matrix.os == 'ubuntu-latest'
9797 - uses : codecov/codecov-action@a1ed4b322b4b38cb846afb5a0ebfa17086917d27
9898 # mirrored below and at https://github.com/mitmproxy/mitmproxy/settings/actions
@@ -124,7 +124,7 @@ jobs:
124124 fetch-depth : 0
125125 - uses : actions/setup-python@v2
126126 with :
127- python-version : ' 3.10 '
127+ python-version : ' 3.11 '
128128 - if : matrix.platform == 'windows'
129129 uses : actions/cache@v2
130130 with :
@@ -175,7 +175,7 @@ jobs:
175175 persist-credentials : false
176176 - uses : actions/setup-python@v2
177177 with :
178- python-version : ' 3.10 '
178+ python-version : ' 3.11 '
179179 - run : |
180180 wget -q https://github.com/gohugoio/hugo/releases/download/v0.92.1/hugo_extended_0.92.1_Linux-64bit.deb
181181 echo "a9440adfd3ecce40089def287dee4e42ffae252ba08c77d1ac575b880a079ce6 hugo_extended_0.92.1_Linux-64bit.deb" | sha256sum -c
@@ -211,7 +211,7 @@ jobs:
211211 persist-credentials : false
212212 - uses : actions/setup-python@v2
213213 with :
214- python-version : ' 3.10 '
214+ python-version : ' 3.11 '
215215 - uses : actions/download-artifact@v2
216216 with :
217217 name : binaries.linux
@@ -245,7 +245,7 @@ jobs:
245245 persist-credentials : false
246246 - uses : actions/setup-python@v2
247247 with :
248- python-version : ' 3.10 '
248+ python-version : ' 3.11 '
249249 - run : sudo apt-get update
250250 - run : sudo apt-get install -y twine awscli
251251 - uses : actions/download-artifact@v2
0 commit comments