mirror of
https://github.com/kreuzwerker/terraform-provider-docker.git
synced 2026-01-09 16:22:56 -05:00
24 lines
443 B
YAML
24 lines
443 B
YAML
---
|
|
name: Unit Tests
|
|
on:
|
|
pull_request:
|
|
types: ['opened', 'synchronize']
|
|
paths:
|
|
- '**.go'
|
|
- 'vendor/**'
|
|
- '.github/workflows/**'
|
|
|
|
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: bash scripts/gogetcookie.sh
|
|
- run: make vet
|
|
- run: make test
|
|
|