0d000af30c
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2.1.5 to 2.2.0. - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](https://github.com/actions/setup-go/compare/v2.1.5...v2.2.0) --- updated-dependencies: - dependency-name: actions/setup-go dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
42 lines
678 B
YAML
42 lines
678 B
YAML
name: Integration
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
test:
|
|
name: Test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2.4.0
|
|
|
|
- name: Setup go
|
|
uses: actions/setup-go@v2.2.0
|
|
with:
|
|
go-version: '1.16.x'
|
|
|
|
- name: Vet
|
|
run: go vet
|
|
|
|
- name: Test
|
|
run: go test ./...
|
|
|
|
build:
|
|
name: Build
|
|
runs-on: ubuntu-latest
|
|
needs:
|
|
- test
|
|
steps:
|
|
- uses: actions/checkout@v2.4.0
|
|
|
|
- name: Setup go
|
|
uses: actions/setup-go@v2.2.0
|
|
with:
|
|
go-version: '1.16.x'
|
|
|
|
- name: Build
|
|
run: go build ./...
|
|
|
|
- name: Docker
|
|
run: docker build .
|