mirror of
https://github.com/kreuzwerker/terraform-provider-docker.git
synced 2026-01-02 12:59:36 -05:00
34 lines
620 B
YAML
34 lines
620 B
YAML
---
|
|
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 vet
|
|
- run: make test
|
|
|
|
|