diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 691f5cb8ad..5d4dfffaa3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,7 +2,7 @@ name: CI on: [push] jobs: python-tests: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 services: # Label used to access the service container @@ -86,7 +86,7 @@ jobs: file: ./coverage.xml javascript-tests: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4 @@ -144,7 +144,7 @@ jobs: build-nextjs-container: needs: javascript-tests - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 @@ -189,7 +189,7 @@ jobs: -t mitodl/mit-learn-frontend:$VERSION . build-storybook: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 @@ -214,7 +214,7 @@ jobs: GENERATOR_IGNORE_FILE: ./frontends/api/.openapi-generator-ignore GENERATOR_OUTPUT_DIR_CI: ./frontends/api/tmp/generated/v0 GENERATOR_OUTPUT_DIR_VC: ./frontends/api/src/generated/v0 - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4 @@ -253,7 +253,7 @@ jobs: GENERATOR_IGNORE_FILE: ./frontends/api/.openapi-generator-ignore GENERATOR_OUTPUT_DIR_CI: ./frontends/api/tmp/generated/v1 GENERATOR_OUTPUT_DIR_VC: ./frontends/api/src/generated/v1 - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4 diff --git a/.github/workflows/openapi-diff.yml b/.github/workflows/openapi-diff.yml index ef141c0810..376913ea7f 100644 --- a/.github/workflows/openapi-diff.yml +++ b/.github/workflows/openapi-diff.yml @@ -2,7 +2,7 @@ name: OpenAPI Diff on: [pull_request] jobs: openapi-diff: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout HEAD uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index b820f61232..1df9700c60 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -10,7 +10,7 @@ on: jobs: # runs if CI workflow was successful OR if this was manually triggered on-success: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 if: > github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' @@ -94,7 +94,7 @@ jobs: # runs ONLY on a failure of the CI workflow on-failure: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 if: > github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'failure' diff --git a/.github/workflows/publish-pages.yml b/.github/workflows/publish-pages.yml index 1b822273c4..b558565bd7 100644 --- a/.github/workflows/publish-pages.yml +++ b/.github/workflows/publish-pages.yml @@ -10,7 +10,7 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 @@ -43,7 +43,7 @@ jobs: name: github-pages url: ${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Deploy to GitHub Pages id: deployment diff --git a/.github/workflows/release-candidate.yml b/.github/workflows/release-candidate.yml index 8d02c1b917..2ab84a8ae8 100644 --- a/.github/workflows/release-candidate.yml +++ b/.github/workflows/release-candidate.yml @@ -10,7 +10,7 @@ on: jobs: # runs if CI workflow was successful OR if this was manually triggered on-success: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 if: > github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' @@ -94,7 +94,7 @@ jobs: # runs ONLY on a failure of the CI workflow on-failure: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 if: > github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'failure'