mirror of
https://github.com/kreuzwerker/terraform-provider-docker.git
synced 2026-01-09 16:22:56 -05:00
* chore: bump to golang 1.16 * fix(ci): remove fail fast from non-matrix builds * chore: rename release workflow from yml to yaml * fix: use goreleaser for compile tests * fix(make): use gorelease in compile target * fix(ci): add gpg import step for compile
32 lines
588 B
YAML
32 lines
588 B
YAML
---
|
|
name: Unit Tests
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- "release/**"
|
|
pull_request:
|
|
types: ['opened', 'synchronize']
|
|
paths:
|
|
- '**.go'
|
|
- 'vendor/**'
|
|
- '.github/workflows/**'
|
|
|
|
env:
|
|
GO_VERSION: "1.16"
|
|
GOPROXY: https://gocenter.io,https://proxy.golang.org,direct
|
|
|
|
jobs:
|
|
unit-test:
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-go@v2
|
|
with:
|
|
go-version: '1.16'
|
|
- run: cat /etc/issue
|
|
- run: bash scripts/gogetcookie.sh
|
|
- run: make vet
|
|
- run: make test
|
|
|
|
|