From 64af1e964f1267b1b171af6bbbdfaac5b4b8e328 Mon Sep 17 00:00:00 2001 From: Luiz Eduardo Date: Tue, 15 Oct 2024 14:26:24 -0300 Subject: [PATCH] =?UTF-8?q?Fixar=20vers=C3=A3o=20do=20ubuntu=20em=20todos?= =?UTF-8?q?=20os=20workflows=20para=20vers=C3=A3o=2022.04?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-docker.yaml | 2 +- .github/workflows/cd-staging.yaml | 2 +- .github/workflows/cd.yaml | 2 +- .github/workflows/ci-docker.yaml | 2 +- .github/workflows/ci-python.yaml | 6 +++--- .github/workflows/ci.yaml | 2 +- .github/workflows/docs.yaml | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build-docker.yaml b/.github/workflows/build-docker.yaml index f83540742..3450cca78 100644 --- a/.github/workflows/build-docker.yaml +++ b/.github/workflows/build-docker.yaml @@ -23,7 +23,7 @@ env: jobs: build-container: name: Build Docker image - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/cd-staging.yaml b/.github/workflows/cd-staging.yaml index 311b00029..18e1e241a 100644 --- a/.github/workflows/cd-staging.yaml +++ b/.github/workflows/cd-staging.yaml @@ -26,7 +26,7 @@ jobs: build-container: if: startsWith(github.head_ref, 'staging/') name: Register flows (staging) - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index 948e70e37..2f5ee911c 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -23,7 +23,7 @@ env: jobs: build-container: name: Register flows (production) - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/ci-docker.yaml b/.github/workflows/ci-docker.yaml index 2a7f1184b..c31fa5384 100644 --- a/.github/workflows/ci-docker.yaml +++ b/.github/workflows/ci-docker.yaml @@ -6,7 +6,7 @@ on: jobs: lint: name: Lint dockerfile - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/ci-python.yaml b/.github/workflows/ci-python.yaml index a483688b2..b9335505b 100644 --- a/.github/workflows/ci-python.yaml +++ b/.github/workflows/ci-python.yaml @@ -5,7 +5,7 @@ on: jobs: lint: name: Lint python - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout uses: actions/checkout@v4 @@ -13,7 +13,7 @@ jobs: uses: chartboost/ruff-action@v1 test: name: Test python - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout uses: actions/checkout@v4 @@ -24,7 +24,7 @@ jobs: with: cache: poetry architecture: x64 - python-version: '3.11' + python-version: '3.10' - name: Install requirements run: poetry install --only=test - name: Test diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 60d59b402..b91065e8b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -10,7 +10,7 @@ jobs: strategy: matrix: arch: [x64] - os: [ubuntu-latest] + os: [ubuntu-22.04] python-version: [3.10.x] steps: - name: Checkout diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 6ac071020..ebc1bb4dc 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -6,7 +6,7 @@ on: jobs: docs: name: Deploy docs - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout uses: actions/checkout@v4