2020-03-21 20:53:50 +01:00
|
|
|
name: Integration
|
|
|
|
|
2021-02-18 09:07:47 +01:00
|
|
|
on:
|
|
|
|
push:
|
2021-02-26 11:05:45 +01:00
|
|
|
pull_request:
|
2020-03-21 20:53:50 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
name: Test
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2021-05-15 20:03:43 +02:00
|
|
|
- uses: actions/checkout@v2.3.4
|
2020-03-21 20:53:50 +01:00
|
|
|
- name: Setup go
|
2020-10-24 10:54:18 +02:00
|
|
|
uses: actions/setup-go@v2.1.3
|
2020-03-21 20:53:50 +01:00
|
|
|
with:
|
2021-02-18 09:13:38 +01:00
|
|
|
go-version: '1.16.x'
|
2020-03-21 20:53:50 +01:00
|
|
|
- name: Vet
|
|
|
|
run: make vet
|
|
|
|
- name: Test
|
|
|
|
run: make coverage
|
|
|
|
|
|
|
|
build:
|
|
|
|
name: Build
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2021-05-15 20:03:43 +02:00
|
|
|
- uses: actions/checkout@v2.3.4
|
2020-03-21 20:53:50 +01:00
|
|
|
- name: Setup go
|
2020-10-24 10:54:18 +02:00
|
|
|
uses: actions/setup-go@v2.1.3
|
2020-03-21 20:53:50 +01:00
|
|
|
with:
|
2021-02-18 09:13:38 +01:00
|
|
|
go-version: '1.16.x'
|
2020-03-21 20:53:50 +01:00
|
|
|
- name: Build
|
|
|
|
run: make build
|
|
|
|
|
|
|
|
docker:
|
|
|
|
name: Docker
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2021-05-15 20:03:43 +02:00
|
|
|
- uses: actions/checkout@v2.3.4
|
2020-03-21 20:53:50 +01:00
|
|
|
- name: Docker
|
|
|
|
run: make docker
|