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

45 lines
712 B
YAML
Raw Normal View History

2020-03-21 20:53:50 +01:00
name: Integration
on:
push:
branches:
- main
pull_request_target:
2020-03-21 20:53:50 +01:00
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.4.0
2020-03-21 20:53:50 +01:00
- name: Setup go
uses: actions/setup-go@v2.2.0
2020-03-21 20:53:50 +01:00
with:
2022-02-20 12:32:34 +01:00
go-version: '1.17.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.4.0
2020-03-21 20:53:50 +01:00
- name: Setup go
uses: actions/setup-go@v2.2.0
2020-03-21 20:53:50 +01:00
with:
2022-02-20 12:32:34 +01:00
go-version: '1.17.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 .