From ed0b93bdbef0659dca71bda9170f5d08cbaeb16e Mon Sep 17 00:00:00 2001 From: Roman Mogylatov Date: Fri, 5 Mar 2021 20:19:31 -0500 Subject: [PATCH] Pin ubuntu to 18.04 for publishing jobs --- .github/workflows/publishing.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publishing.yml b/.github/workflows/publishing.yml index 59f6dfd0..dbd241f0 100644 --- a/.github/workflows/publishing.yml +++ b/.github/workflows/publishing.yml @@ -9,7 +9,7 @@ jobs: tests: name: Run tests - runs-on: ubuntu-latest + runs-on: ubuntu-18.04 steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 @@ -22,7 +22,7 @@ jobs: linters: name: Run linters - runs-on: ubuntu-latest + runs-on: ubuntu-18.04 strategy: matrix: toxenv: [flake8, pydocstyle, mypy, pylint] @@ -39,7 +39,7 @@ jobs: build-sdist: name: Build source tarball needs: [tests, linters] - runs-on: ubuntu-latest + runs-on: ubuntu-18.04 steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 @@ -56,7 +56,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-18.04, windows-latest, macos-latest] steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 @@ -75,7 +75,7 @@ jobs: build-wheels-linux-aarch64: name: Build wheels (ubuntu-latest-aarch64) needs: [tests, linters] - runs-on: ubuntu-latest + runs-on: ubuntu-18.04 steps: - uses: actions/checkout@v2 - name: Set up QEMU @@ -92,7 +92,7 @@ jobs: publish: name: Publish on PyPI needs: [build-sdist, build-wheels, build-wheels-linux-aarch64] - runs-on: ubuntu-latest + runs-on: ubuntu-18.04 steps: - uses: actions/download-artifact@v2 with: @@ -106,7 +106,7 @@ jobs: publish-docs: name: Publish docs needs: [publish] - runs-on: ubuntu-latest + runs-on: ubuntu-18.04 steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2