ci: Pin runners to ubuntu 22.04

This commit is contained in:
Alexis Métaireau 2024-12-20 00:44:35 +01:00
parent 0b09476865
commit 2b21795e94
2 changed files with 5 additions and 5 deletions

View file

@ -8,7 +8,7 @@ on:
jobs:
lint:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Install uv and set the python version
@ -21,7 +21,7 @@ jobs:
test:
# Dependency on linting to avoid running our expensive matrix test for nothing
needs: lint
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
# Use postgresql and MariaDB versions of Debian bookworm
services:
postgres:
@ -111,7 +111,7 @@ jobs:
}}
docs:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Install uv and set the python version

View file

@ -10,7 +10,7 @@ on:
jobs:
test:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v2
@ -19,7 +19,7 @@ jobs:
run: docker compose -f docker-compose.test.yml run sut
build_upload:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: test
if: github.event_name != 'pull_request'
steps: