confidential-containers / cloud-api-adaptor

Ability to create Kata pods using cloud provider APIs aka the peer-pods approach
Apache License 2.0
48 stars 88 forks source link

ci: Pin the terraform lint runner #2120

Closed stevenhorsman closed 1 month ago

stevenhorsman commented 1 month ago

Github are updating their default ubuntu-latest runner from 22.04 to 24.04: https://github.com/actions/runner-images/issues/10636 The 24.04 image doesn't have terraform installed, so this breaks the terraform linting. Pin this at the old version to fix this.

The other linting jobs pass on 24.04, so pin these at 24.04, so we don't have a repeat of this in two years time (accidentally)

stevenhorsman commented 1 month ago

FYI: I was tempted to pin all the ubuntu-latest runs-on in this PR, but I figure doing them one file at a time was probably safer.