prometheus-jitsi-meet-exporter/.github/workflows/integration.yaml
Dwight Donovan Benvenuto c2167be572
Move CD to Goreleaser (#57)
* move to goreleaser

* Apply suggestions from code review
2021-09-14 11:37:38 +02:00

42 lines
678 B
YAML

name: Integration
on:
push:
pull_request:
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- name: Setup go
uses: actions/setup-go@v2.1.4
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.3.4
- name: Setup go
uses: actions/setup-go@v2.1.4
with:
go-version: '1.16.x'
- name: Build
run: go build ./...
- name: Docker
run: docker build .