terraform-provider-docker/.github/workflows/unit-test.yaml
renovate[bot] b37d84db62
fix(deps): update module github.com/docker/docker to v20.10.5 (#165)
* fix(deps): update module github.com/docker/docker to v20.10.5

* fix(deps): update module github.com/docker/docker to v20.10.5

* chore: bump acc test docker version

* chore(build): reorder goproxies

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Manuel Vogel <mavogel@posteo.de>
2021-04-12 17:34:02 +09:00

30 lines
558 B
YAML

name: Unit Tests
on:
push:
branches:
- master
- "release/**"
pull_request:
types: ['opened', 'synchronize']
paths:
- '**.go'
- go.mod
- '.github/workflows/**'
env:
GOPROXY: https://proxy.golang.org,https://gocenter.io,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