ci: adds compile

This commit is contained in:
Manuel Vogel 2020-11-11 09:06:13 +01:00
parent 937d25c7f2
commit d6b7d2fc96
No known key found for this signature in database
GPG key ID: 24E54F214569A8A5

32
.github/workflows/compile.yaml vendored Normal file
View file

@ -0,0 +1,32 @@
---
name: Unit Tests
on:
push:
branches:
- master
- "release/**"
pull_request:
types: ['opened', 'synchronize']
paths:
- '**.go'
- 'vendor/**'
- '.github/workflows/**'
env:
GO_VERSION: "1.15"
GOPROXY: https://gocenter.io,https://proxy.golang.org,direct
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: true
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '1.15'
- run: cat /etc/issue
- run: bash scripts/gogetcookie.sh
- run: make compile