Setup a Github action for checking the cloudflared build

This commit is contained in:
Areg Harutyunyan
2021-05-04 00:58:48 +01:00
committed by Silver
parent 5b35e968f3
commit 4d43a70a38
8 changed files with 32 additions and 82 deletions

20
.github/workflows/check.yaml vendored Normal file
View File

@@ -0,0 +1,20 @@
on: [push, pull_request]
name: Check
jobs:
check:
strategy:
matrix:
go-version: [1.15.x]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Install go-sumtype
run: go get github.com/BurntSushi/go-sumtype
- name: Checkout code
uses: actions/checkout@v2
- name: Test
run: make test