Skip to content

Commit

Permalink
Lock GH workflows to ubuntu-22.04
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
lunkwill42 committed Dec 11, 2024
1 parent 4b527c8 commit 45fe42a
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dockercompose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-test-results.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/towncrier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 45fe42a

Please sign in to comment.