terraform-provider-docker/.github/workflows/unit-test.yaml
renovate[bot] c33013cf0c
chore(deps): update actions/checkout action to v5 (#768)
* chore(deps): update actions/checkout action to v5

* chore: Update docs

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Martin Wentzel <nitram.wentzel@gmail.com>
2025-08-12 16:29:43 +02:00

33 lines
622 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,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