workflows: upgrade runners

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
This commit is contained in:
Anna Shaleva 2024-03-04 17:36:28 +03:00
parent 46a3ff3348
commit 90db72abc9
2 changed files with 5 additions and 5 deletions

View file

@ -37,7 +37,7 @@ jobs:
runs-on: ${{matrix.os.name}} runs-on: ${{matrix.os.name}}
strategy: strategy:
matrix: 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] arch: [amd64, arm64]
exclude: exclude:
- os: { name: windows-2022, bin-name: windows } - os: { name: windows-2022, bin-name: windows }
@ -80,7 +80,7 @@ jobs:
build_image: build_image:
needs: build_cli needs: build_cli
name: Build and push docker image name: Build and push docker image
runs-on: ubuntu-20.04 runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4

View file

@ -86,7 +86,7 @@ jobs:
test_cover: test_cover:
name: Coverage name: Coverage
runs-on: ubuntu-20.04 runs-on: ubuntu-22.04
env: env:
CGO_ENABLED: 0 CGO_ENABLED: 0
@ -117,7 +117,7 @@ jobs:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
matrix: 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' ] go_versions: [ '1.19', '1.20', '1.21' ]
exclude: exclude:
# Only latest Go version for Windows and MacOS. # Only latest Go version for Windows and MacOS.
@ -134,7 +134,7 @@ jobs:
- os: macos-14 - os: macos-14
go_versions: '1.20' go_versions: '1.20'
# Exclude latest Go version for Ubuntu as Coverage uses it. # Exclude latest Go version for Ubuntu as Coverage uses it.
- os: ubuntu-20.04 - os: ubuntu-22.04
go_versions: '1.21' go_versions: '1.21'
fail-fast: false fail-fast: false
steps: steps: