From 12cd9ceb9e54468eb58d5800339279bb5787a80e Mon Sep 17 00:00:00 2001 From: Carlos Date: Wed, 12 Feb 2025 19:12:08 +0100 Subject: [PATCH] Switch from deprecated u2004 to u2204 image for github actions --- .github/workflows/checks.yaml | 2 +- .github/workflows/ci.yaml | 12 ++++++------ .github/workflows/lint.yaml | 2 +- .github/workflows/microbenchmarks.yaml | 6 +++--- .github/workflows/orquesta-integration-tests.yaml | 6 +++--- .github/workflows/pants.yaml | 2 +- .github/workflows/test.yaml | 12 ++++++------ 7 files changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/checks.yaml b/.github/workflows/checks.yaml index 3f26be7c0e..23ae018965 100644 --- a/.github/workflows/checks.yaml +++ b/.github/workflows/checks.yaml @@ -12,7 +12,7 @@ jobs: # See: https://keepachangelog.com/en/1.0.0/ changelog-checker: name: Add CHANGELOG.rst - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - name: Changelog check diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9a8b48066a..4e4cacab53 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -28,7 +28,7 @@ jobs: # same file set which has already passed, etc. pre_job: name: Skip Duplicate Jobs Pre Job - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 outputs: should_skip: ${{ steps.skip_check.outputs.should_skip }} steps: @@ -45,7 +45,7 @@ jobs: # coverage, etc) # if: ${{ needs.pre_job.outputs.should_skip != 'true' || github.ref == 'refs/heads/master' }} name: '${{ matrix.make.name }} - Python ${{ matrix.python.version-short }}' - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: @@ -103,7 +103,7 @@ jobs: needs: pre_job # FIXME: dropping the repetition in this name requires changing required checks on GitHub name: 'Self-check on Python ${{ matrix.python.version-short }} - Python ${{ matrix.python.version-short }}' - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: @@ -240,7 +240,7 @@ jobs: # NB: disabled. See TODO above pre_job # if: ${{ needs.pre_job.outputs.should_skip != 'true' || github.ref == 'refs/heads/master' }} name: '${{ matrix.make.name }} - Python ${{ matrix.python.version-short }}' - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: @@ -383,7 +383,7 @@ jobs: # coverage, etc) # if: ${{ needs.pre_job.outputs.should_skip != 'true' || github.ref == 'refs/heads/master' }} name: '${{ matrix.make.name }} - Python ${{ matrix.python.version-short }}' - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: @@ -558,7 +558,7 @@ jobs: - self-check - unit-tests - integration-tests - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Workflow conclusion # this step creates an environment variable WORKFLOW_CONCLUSION and is the most reliable way to check the status of previous jobs diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 183394f584..7ab8b17f8d 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -26,7 +26,7 @@ jobs: # Lint checks which don't depend on any service containes, etc. to be running. lint-checks: name: 'Lint Checks (pants runs: shellcheck, bandit, black, flake8, pylint)' - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 env: COLUMNS: '120' diff --git a/.github/workflows/microbenchmarks.yaml b/.github/workflows/microbenchmarks.yaml index 8382912bb5..faa313a298 100644 --- a/.github/workflows/microbenchmarks.yaml +++ b/.github/workflows/microbenchmarks.yaml @@ -21,7 +21,7 @@ jobs: # same file set which has already passed, etc. pre_job: name: Skip Duplicate Jobs Pre Job - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 outputs: should_skip: ${{ steps.skip_check.outputs.should_skip }} steps: @@ -37,7 +37,7 @@ jobs: # coverage, etc) if: ${{ needs.pre_job.outputs.should_skip != 'true' || github.ref == 'refs/heads/master' }} name: '${{ matrix.make.name }} - Python ${{ matrix.python.version-short }}' - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: @@ -113,7 +113,7 @@ jobs: if: always() needs: - micro-benchmarks - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Workflow conclusion # this step creates an environment variable WORKFLOW_CONCLUSION and is the most reliable way to check the status of previous jobs diff --git a/.github/workflows/orquesta-integration-tests.yaml b/.github/workflows/orquesta-integration-tests.yaml index 666a2c5c28..8878fb637a 100644 --- a/.github/workflows/orquesta-integration-tests.yaml +++ b/.github/workflows/orquesta-integration-tests.yaml @@ -32,7 +32,7 @@ jobs: # same file set which has already passed, etc. pre_job: name: Skip Duplicate Jobs Pre Job - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 outputs: should_skip: ${{ steps.skip_check.outputs.should_skip }} steps: @@ -48,7 +48,7 @@ jobs: # coverage, etc) # if: ${{ needs.pre_job.outputs.should_skip != 'true' || github.ref == 'refs/heads/master' }} name: '${{ matrix.make.name }} - Python ${{ matrix.python.version-short }}' - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: @@ -188,7 +188,7 @@ jobs: if: always() needs: - integration-tests - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Workflow conclusion # this step creates an environment variable WORKFLOW_CONCLUSION and is the most reliable way to check the status of previous jobs diff --git a/.github/workflows/pants.yaml b/.github/workflows/pants.yaml index 7e2ef5a112..94a60df45e 100644 --- a/.github/workflows/pants.yaml +++ b/.github/workflows/pants.yaml @@ -21,7 +21,7 @@ on: jobs: pants-tailor: name: Make sure pants BUILD files are up-to-date - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Checkout repository uses: actions/checkout@v4 diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 58a6231fb0..9a2de1253c 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -38,7 +38,7 @@ env: jobs: pants-plugins-tests: name: 'Pants Plugins Tests (pants runs: pytest) - Python ${{ matrix.python.version-short }}' - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: @@ -121,7 +121,7 @@ jobs: unit-tests: name: 'Unit Tests Shard ${{ matrix.shard.k }}/${{ matrix.shard.n }} (pants runs: pytest) - Python ${{ matrix.python.version-short }}' - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: @@ -218,7 +218,7 @@ jobs: pack-tests: name: 'Pack Tests (pants runs: pytest) - Python ${{ matrix.python.version-short }}' - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: @@ -307,7 +307,7 @@ jobs: integration-tests: name: 'Integration Tests (pants runs: pytest) - Python ${{ matrix.python.version-short }}' - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: @@ -429,7 +429,7 @@ jobs: integration-st2cluster-tests: name: 'Integration Tests (Full Cluster)- Python ${{ matrix.python.version-short }}' - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: @@ -549,7 +549,7 @@ jobs: self-check: name: 'Self-Check - Python ${{ matrix.python.version-short }}' - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: