mirror of
https://github.com/hikhvar/mqtt2prometheus.git
synced 2026-05-14 12:36:35 +00:00
24 lines
507 B
YAML
24 lines
507 B
YAML
on:
|
|
push:
|
|
branches: ["master"]
|
|
pull_request:
|
|
name: tests
|
|
jobs:
|
|
test:
|
|
strategy:
|
|
matrix:
|
|
go-version: [1.13.x, 1.14.x]
|
|
platform: [ubuntu-latest, macos-latest, windows-latest]
|
|
runs-on: ${{ matrix.platform }}
|
|
steps:
|
|
- name: Install Go
|
|
uses: actions/setup-go@v1
|
|
with:
|
|
go-version: ${{ matrix.go-version }}
|
|
- name: Checkout code
|
|
uses: actions/checkout@v2
|
|
- name: Test
|
|
run: go test ./...
|
|
- name: Vet
|
|
run: go vet ./...
|