workflows: use Ubuntu 20.04 instead of 18.04
18.04 is a bit old.
This commit is contained in:
parent
25d273f88e
commit
d5cdcb29c3
3 changed files with 5 additions and 5 deletions
4
.github/workflows/builds.yml
vendored
4
.github/workflows/builds.yml
vendored
|
@ -12,7 +12,7 @@ on:
|
||||||
jobs:
|
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
|
||||||
|
@ -45,7 +45,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
|
||||||
|
|
2
.github/workflows/publish_to_dockerhub.yml
vendored
2
.github/workflows/publish_to_dockerhub.yml
vendored
|
@ -27,7 +27,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
publish:
|
publish:
|
||||||
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' }}
|
||||||
|
|
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
|
@ -23,7 +23,7 @@ jobs:
|
||||||
|
|
||||||
cover:
|
cover:
|
||||||
name: Coverage
|
name: Coverage
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-20.04
|
||||||
|
|
||||||
env:
|
env:
|
||||||
CGO_ENABLED: 0
|
CGO_ENABLED: 0
|
||||||
|
@ -58,7 +58,7 @@ jobs:
|
||||||
|
|
||||||
tests:
|
tests:
|
||||||
name: Tests
|
name: Tests
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-20.04
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
go_versions: [ '1.16' ]
|
go_versions: [ '1.16' ]
|
||||||
|
|
Loading…
Reference in a new issue