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:
|
||||
build_cli:
|
||||
name: Build CLI
|
||||
runs-on: ubuntu-18.04
|
||||
runs-on: ubuntu-20.04
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
@ -45,7 +45,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
|
||||
|
|
2
.github/workflows/publish_to_dockerhub.yml
vendored
2
.github/workflows/publish_to_dockerhub.yml
vendored
|
@ -27,7 +27,7 @@ on:
|
|||
jobs:
|
||||
publish:
|
||||
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' }}
|
||||
|
|
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
|
@ -23,7 +23,7 @@ jobs:
|
|||
|
||||
cover:
|
||||
name: Coverage
|
||||
runs-on: ubuntu-18.04
|
||||
runs-on: ubuntu-20.04
|
||||
|
||||
env:
|
||||
CGO_ENABLED: 0
|
||||
|
@ -58,7 +58,7 @@ jobs:
|
|||
|
||||
tests:
|
||||
name: Tests
|
||||
runs-on: ubuntu-18.04
|
||||
runs-on: ubuntu-20.04
|
||||
strategy:
|
||||
matrix:
|
||||
go_versions: [ '1.16' ]
|
||||
|
|
Loading…
Reference in a new issue