Skip to content

ci/tests: Remove Go version resolution step - #623

Merged
radeksimko merged 1 commit into
mainfrom
radek/ci-remove-go-version-resolution
Nov 2, 2026
Merged

radeksimko merged 1 commit into
mainfrom
radek/ci-remove-go-version-resolution

Conversation

@radeksimko

@radeksimko radeksimko commented Oct 30, 2026 •

Copy link
Copy Markdown
Member

This change has one primary objective and it is to enable the use of required checks and branch protection rulesets in GitHub which do not allow wildcards.

Sadly, GitHub does not seem interested in addressing that issue within the platform. Of course workarounds do exist but they are just that - workarounds. I think this solution feels less like a workaround.

While seeing the resolved Go versions is helpful for humans and it's sad we have to make such compromises, I think this is okay trade-off and it aligns the library with other ones we maintain.

minimal version in go.mod

I avoided adding minimal version to the test matrix here that I added e.g. in hashicorp/hcl#861 because the matrix itself is already quite large and tests already take quite some time to finish due to the number of Terraform versions we test against. Also today it would resolve to the same version as oldstable.

E2E tests

The E2E tests suffer from the same problem and we cannot gate PRs on those. The context is just Terraform versions rather than Go versions. That's a problem for another day/PR though. Also I'm not sure we'd necessarily want to be gating PRs on E2E tests. 🤔

@radeksimko
radeksimko requested review from a team as code owners October 30, 2026 17:17
@radeksimko
radeksimko merged commit 606e4f5 into main Nov 2, 2026
106 checks passed
@radeksimko
radeksimko deleted the radek/ci-remove-go-version-resolution branch November 2, 2026 11:50
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.

2 participants