mirror of
https://github.com/yudai/gotty.git
synced 2025-12-25 19:58:50 +01:00
Run tests on push
This commit is contained in:
parent
d674aa1120
commit
55674f1928
2 changed files with 26 additions and 0 deletions
25
.github/workflows/main.yaml
vendored
Normal file
25
.github/workflows/main.yaml
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue