Skip to content

feat: CI integration — acceptance test matrix & release workflow#520

Merged
Zordrak merged 1 commit into
feat/488-go-editionfrom
feat/504-ci-matrix
Apr 25, 2026
Merged

feat: CI integration — acceptance test matrix & release workflow#520
Zordrak merged 1 commit into
feat/488-go-editionfrom
feat/504-ci-matrix

Conversation

@Zordrak

@Zordrak Zordrak commented Apr 25, 2026

Copy link
Copy Markdown
Collaborator

Implements #504 — CI workflows for the Go edition.

Note: This PR adds new workflow files to .github/workflows/ and requires explicit maintainer approval per AGENTS.md.

Changes

  • .github/workflows/go-test.yml — unit tests + acceptance test matrix (bash x go x OS)
  • .github/workflows/go-release.yml — goreleaser release workflow on go/v* tags

Details

go-test.yml

Unit tests run go test -v -race -count=1 ./internal/... and go vet across ubuntu-latest, macos-latest, and windows-latest.

Acceptance tests run the shared acceptance suite against both Bash and Go editions across all three OS platforms. Bash edition is excluded from Windows (not natively supported). The TFENV_TEST_BINARY env var points at the appropriate binary. Windows correctly uses .exe extension.

Integration tests (real network, real releases.hashicorp.com) are gated behind schedule (nightly at 04:00 UTC) and workflow_dispatch — they do NOT run on every PR.

go-release.yml

Triggered by go/v* tags. Uses goreleaser-action v6 to build and publish cross-platform binaries.

What this does NOT change

The existing test.yml for the Bash test suite is untouched.

Closes #504

Add new GitHub Actions workflow files for the Go edition:

- go-test.yml: unit tests, acceptance test matrix (bash x go x OS),
  and integration tests (schedule/dispatch only)
- go-release.yml: goreleaser-based release workflow on go/v* tags

The acceptance matrix tests both Bash and Go editions across
ubuntu-latest, macos-latest, and windows-latest (Bash excluded
from Windows). Integration tests with real network access are
gated behind schedule and workflow_dispatch triggers.

Does not modify the existing test.yml for the Bash test suite.
@Zordrak
Zordrak merged commit 0a1fd69 into feat/488-go-edition Apr 25, 2026
5 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant