mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-26 09:42:22 +00:00
.github: update ubuntu image for test workflows
This commit is contained in:
parent
173bf0be62
commit
a512db4797
2 changed files with 6 additions and 6 deletions
4
.github/workflows/publish_to_dockerhub.yml
vendored
4
.github/workflows/publish_to_dockerhub.yml
vendored
|
@ -31,7 +31,7 @@ env:
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
name: Run tests before publishing
|
name: Run tests before publishing
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-20.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout (manual run)
|
- name: Checkout (manual run)
|
||||||
|
@ -74,7 +74,7 @@ jobs:
|
||||||
# Ensure test job passes before pushing image.
|
# Ensure test job passes before pushing image.
|
||||||
needs: test
|
needs: test
|
||||||
name: Publish image to DockerHub
|
name: Publish image to DockerHub
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout (manual run)
|
- name: Checkout (manual run)
|
||||||
if: ${{ github.event_name == 'workflow_dispatch' }}
|
if: ${{ github.event_name == 'workflow_dispatch' }}
|
||||||
|
|
8
.github/workflows/run_tests.yml
vendored
8
.github/workflows/run_tests.yml
vendored
|
@ -27,7 +27,7 @@ jobs:
|
||||||
|
|
||||||
test_cover:
|
test_cover:
|
||||||
name: Coverage
|
name: Coverage
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-20.04
|
||||||
|
|
||||||
env:
|
env:
|
||||||
CGO_ENABLED: 0
|
CGO_ENABLED: 0
|
||||||
|
@ -67,7 +67,7 @@ jobs:
|
||||||
|
|
||||||
tests:
|
tests:
|
||||||
name: Go
|
name: Go
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-20.04
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
go_versions: [ '1.15', '1.16' ]
|
go_versions: [ '1.15', '1.16' ]
|
||||||
|
@ -101,7 +101,7 @@ jobs:
|
||||||
|
|
||||||
build_cli:
|
build_cli:
|
||||||
name: Build CLI
|
name: Build CLI
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-20.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
@ -128,7 +128,7 @@ jobs:
|
||||||
build_image:
|
build_image:
|
||||||
needs: build_cli
|
needs: build_cli
|
||||||
name: Build Docker image
|
name: Build Docker image
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-20.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
Loading…
Reference in a new issue