2020-04-30 17:37:41 +02:00
|
|
|
name: Continuous integration
|
|
|
|
|
|
|
|
on:
|
2020-05-04 15:10:28 +02:00
|
|
|
[push]
|
|
|
|
|
2020-04-30 17:37:41 +02:00
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
name: Build
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2020-05-04 23:50:00 +02:00
|
|
|
- name: Set up Go 1.14
|
2020-04-30 17:41:59 +02:00
|
|
|
uses: actions/setup-go@v1
|
|
|
|
with:
|
2020-05-04 23:50:00 +02:00
|
|
|
go-version: 1.14
|
2020-04-30 17:41:59 +02:00
|
|
|
id: go
|
|
|
|
|
|
|
|
- name: Checkout code into the Go module directory
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
2020-05-04 23:50:00 +02:00
|
|
|
- name: Lint
|
|
|
|
run: make lint
|
2020-04-30 17:37:41 +02:00
|
|
|
|
2020-04-30 17:41:59 +02:00
|
|
|
- name: Build
|
|
|
|
run: make cli
|
2020-04-30 17:37:41 +02:00
|
|
|
|
2020-04-30 17:41:59 +02:00
|
|
|
- name: Test
|
|
|
|
run: make test
|
2020-05-04 15:10:28 +02:00
|
|
|
|
|
|
|
- name: E2E Test
|
|
|
|
run: make e2e-local
|