mirror of
https://github.com/sorenisanerd/gotty.git
synced 2024-09-20 04:56:33 +00:00
26 lines
361 B
YAML
26 lines
361 B
YAML
|
name: Go
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches: [ gh-workflows ]
|
||
|
|
||
|
jobs:
|
||
|
|
||
|
build:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
with:
|
||
|
fetch-depth: 0
|
||
|
|
||
|
- name: Set up Go
|
||
|
uses: actions/setup-go@v2
|
||
|
with:
|
||
|
go-version: 1.16
|
||
|
|
||
|
- name: Test
|
||
|
run: make test
|
||
|
|
||
|
- name: Build
|
||
|
run: make tools cross_compile
|