terraform-provider-docker/.github/workflows/unit-test.yaml
Manuel Vogel 1159e2de73
feat: support darwin arm builds and golang 1.16 (#140)
* 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
2021-03-18 23:21:49 +09:00

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