From 45fe42a21455b90afdc3fbdfe92633005216e09c Mon Sep 17 00:00:00 2001 From: Morten Brekkevold Date: Wed, 11 Dec 2024 09:16:57 +0000 Subject: [PATCH] Lock GH workflows to ubuntu-22.04 ubuntu-latest has moved to 24.04 and there seems to be problems with running the CI workflows on that version. This locks all workflows to ubuntu-22.04 until we can figure out the issues. --- .github/workflows/build-and-test.yml | 6 +++--- .github/workflows/dockercompose.yml | 2 +- .github/workflows/linter.yml | 2 +- .github/workflows/publish-test-results.yml | 2 +- .github/workflows/towncrier.yml | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 93057c2dee..32d2761958 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -11,7 +11,7 @@ on: jobs: build-and-test: name: "Test on Python ${{ matrix.python-version}}" - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: max-parallel: 4 @@ -128,7 +128,7 @@ jobs: javascript: name: "Test Javascript code" - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - uses: browser-actions/setup-chrome@latest @@ -157,7 +157,7 @@ jobs: upload-pr-number-base-sha: name: Save PR number and base SHA in artifact - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 if: ${{ github.event.number && always() }} env: PR_NUMBER: ${{ github.event.number }} diff --git a/.github/workflows/dockercompose.yml b/.github/workflows/dockercompose.yml index a386e18b3d..90ed5661a1 100644 --- a/.github/workflows/dockercompose.yml +++ b/.github/workflows/dockercompose.yml @@ -8,7 +8,7 @@ on: jobs: build-docker-compose: name: "Build docker-compose-based development environment" - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 15f5d66101..e932fab8a9 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -10,7 +10,7 @@ on: jobs: megalinter: name: MegaLinter - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 permissions: # Give the linter write permission to comment on PRs (if PR is not from fork) issues: write diff --git a/.github/workflows/publish-test-results.yml b/.github/workflows/publish-test-results.yml index 67d63e897f..e69c9d391c 100644 --- a/.github/workflows/publish-test-results.yml +++ b/.github/workflows/publish-test-results.yml @@ -9,7 +9,7 @@ on: jobs: publish-test-results: name: "Publish test results" - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 if: github.event.workflow_run.conclusion != 'skipped' && github.repository_owner == 'Uninett' steps: diff --git a/.github/workflows/towncrier.yml b/.github/workflows/towncrier.yml index a7ffcb553d..b6a5899ca3 100644 --- a/.github/workflows/towncrier.yml +++ b/.github/workflows/towncrier.yml @@ -5,7 +5,7 @@ on: [pull_request] jobs: towncrier: if: ${{ github.actor != 'dependabot[bot]' }} - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 name: Towncrier check steps: - uses: actions/checkout@v4