Commit fdb081c
authored
fix: remove TF registry URL + bump test GHA (#57)
## what
- Update TF Test GHA to the latest version that contains [critical fixes
for PR
checks](masterpointio/github-action-tf-test#12).
- Add required_version rule for .tf files without overriding
registryUrls.
## why
- On the previous GHA versions, TF tests were run on the default branch,
not the actual PR branch.
- The previous config incorrectly pointed Terraform core
required_version lookups to registry.terraform.io. Renovate fetches
Terraform core versions via GitHub releases (hashicorp/terraform), not
the registry API. This caused ERR_BODY_PARSE_FAILURE errors when the
registry returned HTML instead of JSON
([example](https://developer.mend.io/github/masterpointio/terraform-module-template/-/job/019afb59-7878-7f12-b243-45777c8bb870)).1 parent 381b2b7 commit fdb081c
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
4 | | - | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
60 | | - | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
0 commit comments