From 90db72abc97c6f94a6271541f317a767da15684e Mon Sep 17 00:00:00 2001 From: Anna Shaleva Date: Mon, 4 Mar 2024 17:36:28 +0300 Subject: [PATCH] workflows: upgrade runners Signed-off-by: Anna Shaleva --- .github/workflows/build.yml | 4 ++-- .github/workflows/tests.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3567b1c89..fdaacd792 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -37,7 +37,7 @@ jobs: runs-on: ${{matrix.os.name}} strategy: matrix: - os: [{ name: ubuntu-20.04, bin-name: linux }, { name: windows-2022, bin-name: windows }, { name: macos-12, bin-name: darwin }] + os: [{ name: ubuntu-22.04, bin-name: linux }, { name: windows-2022, bin-name: windows }, { name: macos-12, bin-name: darwin }] arch: [amd64, arm64] exclude: - os: { name: windows-2022, bin-name: windows } @@ -80,7 +80,7 @@ jobs: build_image: needs: build_cli name: Build and push docker image - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b475320e7..1c6123ec5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -86,7 +86,7 @@ jobs: test_cover: name: Coverage - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 env: CGO_ENABLED: 0 @@ -117,7 +117,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-20.04, windows-2022, macos-12, macos-14] + os: [ubuntu-22.04, windows-2022, macos-12, macos-14] go_versions: [ '1.19', '1.20', '1.21' ] exclude: # Only latest Go version for Windows and MacOS. @@ -134,7 +134,7 @@ jobs: - os: macos-14 go_versions: '1.20' # Exclude latest Go version for Ubuntu as Coverage uses it. - - os: ubuntu-20.04 + - os: ubuntu-22.04 go_versions: '1.21' fail-fast: false steps: