mirror of
https://github.com/fhmq/hmq.git
synced 2026-08-31 14:54:52 +00:00
ci: 💚 add build pipeline (#112)
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
name: Go
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ ubuntu-latest, windows-latest, macos-latest ]
|
||||
goversion: [ 1.14, 1.15 ]
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: ${{ matrix.goversion }}
|
||||
|
||||
- name: Build
|
||||
run: go build -v ./...
|
||||
Reference in New Issue
Block a user