mirror of
https://github.com/kreuzwerker/terraform-provider-docker.git
synced 2025-12-22 15:49:34 -05:00
ci: adds compile
This commit is contained in:
parent
937d25c7f2
commit
d6b7d2fc96
1 changed files with 32 additions and 0 deletions
32
.github/workflows/compile.yaml
vendored
Normal file
32
.github/workflows/compile.yaml
vendored
Normal 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
|
||||||
|
|
||||||
Loading…
Reference in a new issue