alphagov / govuk-infrastructure

Terraform turnup automation for the EKS Kubernetes clusters that host GOV.UK. See https://github.com/alphagov/govuk-helm-charts for application config.
MIT License
138 stars 24 forks source link

Move actionlint problem-matcher inline so it works cross-repo. #1375

Closed sengi closed 1 month ago

sengi commented 1 month ago

Drop the ANSI colour codes to simplify the regex. These were already ignored anyway.

The pre-merge check fails on this PR because it's calling the old version of the reusable action that expects to find the separate file for the problem matcher, which we're removing. It'll work once merged. (Didn't seem worth making two PRs just to make the checks happy, since I needed to test it separately anyway.)

Tested: https://github.com/alphagov/govuk-ruby-images/actions/runs/9842609154/job/27172037545#step:3:53

https://github.com/alphagov/govuk-infrastructure/issues/1361