From ff9f50b235371a72eab31d623cf426117314289b Mon Sep 17 00:00:00 2001 From: Usama Sadiq Date: Mon, 14 Oct 2024 15:04:54 +0500 Subject: [PATCH] build: pin workflows to use ubuntu 22.04 (#4464) --- .github/workflows/ci.yml | 8 ++++---- .github/workflows/docker-publish.yml | 2 +- .github/workflows/migrations-check-mysql8.yml | 2 +- .github/workflows/requirements-upgrade.yml | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 91edb77d59..ec6e9f3cc5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,7 +5,7 @@ on: jobs: pytest: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: fail-fast: false @@ -53,7 +53,7 @@ jobs: # Combine and upload coverage reports. coverage: needs: pytest - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 - run: make ci_up @@ -70,7 +70,7 @@ jobs: fail_ci_if_error: true quality: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 - run: make ci_up @@ -79,7 +79,7 @@ jobs: - run: make ci_quality semgrep: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: matrix: python-version: ['3.12'] diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index f7a909afa8..463c881d70 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -7,7 +7,7 @@ on: - open-release/** jobs: push: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout diff --git a/.github/workflows/migrations-check-mysql8.yml b/.github/workflows/migrations-check-mysql8.yml index dbff153348..4051412117 100644 --- a/.github/workflows/migrations-check-mysql8.yml +++ b/.github/workflows/migrations-check-mysql8.yml @@ -13,7 +13,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ ubuntu-latest ] + os: [ ubuntu-22.04 ] python-version: [ 3.12 ] steps: diff --git a/.github/workflows/requirements-upgrade.yml b/.github/workflows/requirements-upgrade.yml index 8bfaa70e75..766bcdaa3b 100644 --- a/.github/workflows/requirements-upgrade.yml +++ b/.github/workflows/requirements-upgrade.yml @@ -13,7 +13,7 @@ on: jobs: upgrade_requirements: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: matrix: