prometheus-jitsi-meet-exporter/.github/workflows/integration.yaml

43 lines
678 B
YAML
Raw Normal View History

2020-03-21 20:53:50 +01:00
name: Integration
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:
- uses: actions/checkout@v2.3.4
2020-03-21 20:53:50 +01:00
- name: Setup go
uses: actions/setup-go@v2.1.4
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: go vet
2020-03-21 20:53:50 +01:00
- name: Test
run: go test ./...
2020-03-21 20:53:50 +01:00
build:
name: Build
runs-on: ubuntu-latest
needs:
- test
2020-03-21 20:53:50 +01:00
steps:
- uses: actions/checkout@v2.3.4
2020-03-21 20:53:50 +01:00
- name: Setup go
uses: actions/setup-go@v2.1.4
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: go build ./...
2020-03-21 20:53:50 +01:00
- name: Docker
run: docker build .