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