Merge pull request #2246 from nspcc-dev/update-tests-workflow

.github: update ubuntu image for test workflows
This commit is contained in:
Roman Khimov 2021-11-09 16:51:28 +03:00 committed by GitHub
commit 76db6a4f29
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View file

@ -31,7 +31,7 @@ env:
jobs:
test:
name: Run tests before publishing
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: Checkout (manual run)
@ -74,7 +74,7 @@ jobs:
# Ensure test job passes before pushing image.
needs: test
name: Publish image to DockerHub
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: Checkout (manual run)
if: ${{ github.event_name == 'workflow_dispatch' }}

View file

@ -27,7 +27,7 @@ jobs:
test_cover:
name: Coverage
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
env:
CGO_ENABLED: 0
@ -67,7 +67,7 @@ jobs:
tests:
name: Go
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
strategy:
matrix:
go_versions: [ '1.15', '1.16' ]
@ -101,7 +101,7 @@ jobs:
build_cli:
name: Build CLI
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
@ -128,7 +128,7 @@ jobs:
build_image:
needs: build_cli
name: Build Docker image
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2