mirror of
https://github.com/jwhited/wgsd.git
synced 2025-01-18 13:59:34 +08:00
537afbe95b
Signed-off-by: Jordan Whited <jordan@jordanwhited.com>
25 lines
571 B
YAML
25 lines
571 B
YAML
name: build
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
branches: [ main ]
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
matrix:
|
|
go-version: [1.21.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
|