From a95aed44a7822d3beee201974e05388693d877e3 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Sat, 19 Mar 2022 15:37:11 +0100 Subject: [PATCH] CI: use python 3.10 (#5195) --- .github/workflows/main.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5c9103369..e86f702c8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,7 +24,7 @@ jobs: persist-credentials: false - uses: actions/setup-python@v2 with: - python-version: '3.9' + python-version: '3.10' - run: pip install tox - run: tox -e flake8 filename-matching: @@ -35,7 +35,7 @@ jobs: persist-credentials: false - uses: actions/setup-python@v2 with: - python-version: '3.9' + python-version: '3.10' - run: pip install tox - run: tox -e filename_matching mypy: @@ -46,7 +46,7 @@ jobs: persist-credentials: false - uses: actions/setup-python@v2 with: - python-version: '3.9' + python-version: '3.10' - run: pip install tox - run: tox -e mypy individual-coverage: @@ -58,7 +58,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-python@v2 with: - python-version: '3.9' + python-version: '3.9' # there's a weird bug on 3.10 where some lines are not counted as covered. - run: pip install tox - run: tox -e individual_coverage test: @@ -67,11 +67,11 @@ jobs: matrix: include: - os: ubuntu-latest - py: '3.10.0-rc - 3.10' + py: "3.10" - os: windows-latest - py: 3.9 + py: "3.10" - os: macos-latest - py: 3.9 + py: "3.10" - os: ubuntu-latest py: 3.9 - os: ubuntu-latest @@ -118,7 +118,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-python@v2 with: - python-version: '3.9' + python-version: '3.10' - if: matrix.platform == 'windows' uses: actions/cache@v2 with: @@ -169,7 +169,7 @@ jobs: persist-credentials: false - uses: actions/setup-python@v2 with: - python-version: '3.9' + python-version: '3.10' - run: | wget -q https://github.com/gohugoio/hugo/releases/download/v0.92.1/hugo_extended_0.92.1_Linux-64bit.deb echo "a9440adfd3ecce40089def287dee4e42ffae252ba08c77d1ac575b880a079ce6 hugo_extended_0.92.1_Linux-64bit.deb" | sha256sum -c @@ -205,7 +205,7 @@ jobs: persist-credentials: false - uses: actions/setup-python@v2 with: - python-version: '3.9' + python-version: '3.10' - uses: actions/download-artifact@v2 with: name: binaries.linux @@ -239,7 +239,7 @@ jobs: persist-credentials: false - uses: actions/setup-python@v2 with: - python-version: '3.9' + python-version: '3.10' - run: sudo apt-get update - run: sudo apt-get install -y twine awscli - uses: actions/download-artifact@v2