Skip to content

Commit

Permalink
ci: use Ubuntu 22.04 for GitHub actions
Browse files Browse the repository at this point in the history
ubuntu-latest has recently switched to Ubuntu 24.04, with some breaking
changes, among others restricting the creation of namespaces as
unprivileged user, but also other compatibility issues within Python
itself.

Until this is resolved, we pin the runs to Ubuntu 22.04.
  • Loading branch information
martinwe-adfinis committed Jan 22, 2025
1 parent 1858839 commit fce97db
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
# Push image to GitHub Packages.
# See also https://docs.docker.com/build/ci/github-actions/
container-registry:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
packages: write
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
publish:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ concurrency:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
env:
ENV: dev
steps:
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
docker-tests:
name: Docker tests
needs: [lint]
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
env:
ENV: dev
steps:
Expand All @@ -66,7 +66,7 @@ jobs:
compatibility-tests:
name: Compatibility tests
needs: [lint]
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit fce97db

Please sign in to comment.