2022-05-18 10:42:34 -07:00

25 lines
575 B
YAML

name: build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
strategy:
matrix:
go-version: [1.17.x]
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Build coredns
run: go build cmd/coredns/main.go
- name: Build wgsd-client
run: go build cmd/wgsd-client/main.go