mirror of
https://github.com/kreuzwerker/terraform-provider-docker.git
synced 2026-02-03 04:09:29 -05:00
* chore: Add file requested by hashicorp * chore: Remove paths constraints for unit test workflow
29 lines
549 B
YAML
29 lines
549 B
YAML
name: Unit Tests
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- "release/**"
|
|
pull_request:
|
|
types: ['opened', 'synchronize']
|
|
|
|
env:
|
|
GOPROXY: https://proxy.golang.org,direct
|
|
GO_VERSION: "1.22"
|
|
|
|
jobs:
|
|
unit-test:
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
- uses: actions/setup-go@v5
|
|
with:
|
|
go-version: ${{ env.GO_VERSION }}
|
|
- name: Setup cookies
|
|
run: |
|
|
cat /etc/issue
|
|
bash scripts/gogetcookie.sh
|
|
- name: Running unit tests
|
|
run: make test
|
|
|
|
|