40 lines
742 B
YAML
40 lines
742 B
YAML
name: Integration
|
|
|
|
on:
|
|
push:
|
|
pull_request_target:
|
|
|
|
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.15.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.15.x'
|
|
- name: Build
|
|
run: make build
|
|
|
|
docker:
|
|
name: Docker
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Docker
|
|
run: make docker
|