40 lines
735 B
YAML
40 lines
735 B
YAML
name: Integration
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
test:
|
|
name: Test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Setup go
|
|
uses: actions/setup-go@v2.1.3
|
|
with:
|
|
go-version: '1.16.x'
|
|
- name: Vet
|
|
run: make vet
|
|
- name: Test
|
|
run: make coverage
|
|
|
|
build:
|
|
name: Build
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Setup go
|
|
uses: actions/setup-go@v2.1.3
|
|
with:
|
|
go-version: '1.16.x'
|
|
- name: Build
|
|
run: make build
|
|
|
|
docker:
|
|
name: Docker
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Docker
|
|
run: make docker
|