diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f1505aa5..f05d0acc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ on: # yamllint disable pull_request: ~ jobs: black: - runs-on: "ubuntu-20.04" + runs-on: "ubuntu-22.04" env: INVOKE_LOCAL: "True" steps: @@ -24,7 +24,7 @@ jobs: - name: "Linting: black" run: "poetry run invoke black" bandit: - runs-on: "ubuntu-20.04" + runs-on: "ubuntu-22.04" env: INVOKE_LOCAL: "True" steps: @@ -37,7 +37,7 @@ jobs: needs: - "black" pydocstyle: - runs-on: "ubuntu-20.04" + runs-on: "ubuntu-22.04" env: INVOKE_LOCAL: "True" steps: @@ -50,7 +50,7 @@ jobs: needs: - "black" flake8: - runs-on: "ubuntu-20.04" + runs-on: "ubuntu-22.04" env: INVOKE_LOCAL: "True" steps: @@ -63,7 +63,7 @@ jobs: needs: - "black" mypy: - runs-on: "ubuntu-20.04" + runs-on: "ubuntu-22.04" env: INVOKE_LOCAL: "True" steps: @@ -78,7 +78,7 @@ jobs: needs: - "black" yamllint: - runs-on: "ubuntu-20.04" + runs-on: "ubuntu-22.04" env: INVOKE_LOCAL: "True" steps: @@ -91,7 +91,7 @@ jobs: needs: - "black" pylint: - runs-on: "ubuntu-20.04" + runs-on: "ubuntu-22.04" env: INVOKE_LOCAL: "True" steps: @@ -114,7 +114,7 @@ jobs: fail-fast: true matrix: python-version: ["3.8", "3.9", "3.10", "3.11"] - runs-on: "ubuntu-20.04" + runs-on: "ubuntu-22.04" env: INVOKE_LOCAL: "True" PYTHON_VER: "${{ matrix.python-version }}" @@ -134,7 +134,7 @@ jobs: - "pylint" publish_gh: name: "Publish to GitHub" - runs-on: "ubuntu-20.04" + runs-on: "ubuntu-22.04" if: "startsWith(github.ref, 'refs/tags/v')" steps: - name: "Check out repository code" @@ -163,7 +163,7 @@ jobs: - "unittest" publish_pypi: name: "Push Package to PyPI" - runs-on: "ubuntu-20.04" + runs-on: "ubuntu-22.04" if: "startsWith(github.ref, 'refs/tags/v')" steps: - name: "Check out repository code" @@ -192,7 +192,7 @@ jobs: - "publish_gh" - "publish_pypi" name: "Send notification to the Slack" - runs-on: "ubuntu-20.04" + runs-on: "ubuntu-22.04" env: SLACK_WEBHOOK_URL: "${{ secrets.SLACK_WEBHOOK_URL }}" SLACK_MESSAGE: >-