mirror of
https://github.com/inexio/thola.git
synced 2026-10-24 03:08:55 +03:00
28 lines
460 B
YAML
28 lines
460 B
YAML
name: Build
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- '*'
|
|
pull_request:
|
|
branches:
|
|
- '*'
|
|
|
|
jobs:
|
|
build:
|
|
name: Build
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Set up Go 1.x
|
|
uses: actions/setup-go@v2
|
|
with:
|
|
go-version: ^1.16
|
|
|
|
- name: Check out code into the Go module directory
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Build main
|
|
run: go build -v .
|
|
|
|
- name: Build client
|
|
run: go build -tags client -v . |