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 19345dc5d6
No known key found for this signature in database
GPG key ID: 1C21B876828E5FF2
2 changed files with 5 additions and 5 deletions

View file

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

View file

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