diff --git a/.github/workflows/32-bit-linux.yml b/.github/workflows/32-bit-linux.yml index 806742c99abac..c1004a505ea48 100644 --- a/.github/workflows/32-bit-linux.yml +++ b/.github/workflows/32-bit-linux.yml @@ -17,7 +17,7 @@ permissions: jobs: pytest: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - name: Checkout uses: actions/checkout@v3 diff --git a/.github/workflows/assign.yml b/.github/workflows/assign.yml index b7bb8db549f86..979cd4679c0a0 100644 --- a/.github/workflows/assign.yml +++ b/.github/workflows/assign.yml @@ -11,7 +11,7 @@ jobs: permissions: issues: write pull-requests: write - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - if: github.event.comment.body == 'take' run: | diff --git a/.github/workflows/asv-bot.yml b/.github/workflows/asv-bot.yml index abb19a95315b6..f676baa31aa14 100644 --- a/.github/workflows/asv-bot.yml +++ b/.github/workflows/asv-bot.yml @@ -21,7 +21,7 @@ jobs: name: "Run benchmarks" # TODO: Support more benchmarking options later, against different branches, against self, etc if: startsWith(github.event.comment.body, '@github-actions benchmark') - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 defaults: run: shell: bash -el {0} diff --git a/.github/workflows/autoupdate-pre-commit-config.yml b/.github/workflows/autoupdate-pre-commit-config.yml index 5963e819c0dae..4de8b35f93a69 100644 --- a/.github/workflows/autoupdate-pre-commit-config.yml +++ b/.github/workflows/autoupdate-pre-commit-config.yml @@ -15,7 +15,7 @@ jobs: pull-requests: write # for technote-space/create-pr-action to create a PR if: github.repository_owner == 'pandas-dev' name: Autoupdate pre-commit config - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - name: Set up Python uses: actions/setup-python@v4 diff --git a/.github/workflows/code-checks.yml b/.github/workflows/code-checks.yml index 91deb7f517ca7..0f1f254b571a6 100644 --- a/.github/workflows/code-checks.yml +++ b/.github/workflows/code-checks.yml @@ -20,7 +20,7 @@ permissions: jobs: pre_commit: name: pre-commit - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 concurrency: # https://github.community/t/concurrecy-not-work-for-push/183068/7 group: ${{ github.event_name == 'push' && github.run_number || github.ref }}-pre-commit @@ -41,7 +41,7 @@ jobs: docstring_typing_pylint: name: Docstring validation, typing, and pylint - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 defaults: run: shell: bash -el {0} @@ -104,7 +104,7 @@ jobs: asv-benchmarks: name: ASV Benchmarks - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 defaults: run: shell: bash -el {0} @@ -135,7 +135,7 @@ jobs: build_docker_dev_environment: name: Build Docker Dev Environment - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 defaults: run: shell: bash -el {0} @@ -162,7 +162,7 @@ jobs: requirements-dev-text-installable: name: Test install requirements-dev.txt - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 concurrency: # https://github.community/t/concurrecy-not-work-for-push/183068/7 diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 457aa69fb924f..dfe6b0574b20a 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -10,7 +10,7 @@ concurrency: jobs: analyze: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 permissions: actions: read contents: read diff --git a/.github/workflows/docbuild-and-upload.yml b/.github/workflows/docbuild-and-upload.yml index d95de5deb3cdf..13c51f2cc8550 100644 --- a/.github/workflows/docbuild-and-upload.yml +++ b/.github/workflows/docbuild-and-upload.yml @@ -22,7 +22,7 @@ permissions: jobs: web_and_docs: name: Doc Build and Upload - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 concurrency: # https://github.community/t/concurrecy-not-work-for-push/183068/7 diff --git a/.github/workflows/package-checks.yml b/.github/workflows/package-checks.yml index 070d7b3a71bc7..d46a1302424ab 100644 --- a/.github/workflows/package-checks.yml +++ b/.github/workflows/package-checks.yml @@ -17,7 +17,7 @@ permissions: jobs: pip: if: ${{ github.event.label.name == 'Build' || contains(github.event.pull_request.labels.*.name, 'Build') || github.event_name == 'push'}} - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 strategy: matrix: extra: ["test", "performance", "timezone", "computation", "fss", "aws", "gcp", "excel", "parquet", "feather", "hdf5", "spss", "postgresql", "mysql", "sql-other", "html", "xml", "plot", "output_formatting", "clipboard", "compression", "all"] diff --git a/.github/workflows/python-dev.yml b/.github/workflows/python-dev.yml index 88f3d16a73a1a..706d1511940bb 100644 --- a/.github/workflows/python-dev.yml +++ b/.github/workflows/python-dev.yml @@ -49,7 +49,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, macOS-latest, windows-latest] + os: [ubuntu-20.04, macOS-latest, windows-latest] name: actions-311-dev timeout-minutes: 120 diff --git a/.github/workflows/scorecards.yml b/.github/workflows/scorecards.yml index 1eedfe5b8ab51..af4af94996c43 100644 --- a/.github/workflows/scorecards.yml +++ b/.github/workflows/scorecards.yml @@ -13,7 +13,7 @@ permissions: read-all jobs: analysis: name: Scorecards analysis - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 permissions: # Needed to upload the results to code-scanning dashboard. security-events: write diff --git a/.github/workflows/sdist.yml b/.github/workflows/sdist.yml index c9ac218bff935..984723b19dadf 100644 --- a/.github/workflows/sdist.yml +++ b/.github/workflows/sdist.yml @@ -19,7 +19,7 @@ permissions: jobs: build: if: ${{ github.event.label.name == 'Build' || contains(github.event.pull_request.labels.*.name, 'Build') || github.event_name == 'push'}} - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 timeout-minutes: 60 defaults: run: diff --git a/.github/workflows/stale-pr.yml b/.github/workflows/stale-pr.yml index 69656be18a8b1..3a555de8eadbe 100644 --- a/.github/workflows/stale-pr.yml +++ b/.github/workflows/stale-pr.yml @@ -11,7 +11,7 @@ jobs: stale: permissions: pull-requests: write - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/stale@v4 with: diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 69bde1d812e07..733d095f7329e 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -20,7 +20,7 @@ permissions: jobs: pytest: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 defaults: run: shell: bash -el {0} diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index b0ff6a3110f6a..75acf97697257 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -127,7 +127,7 @@ jobs: (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'Build')) || (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && ( ! endsWith(github.ref, 'dev0'))) - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 env: IS_PUSH: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') }} IS_SCHEDULE_DISPATCH: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}