Closed jpreese closed 4 months ago
Updates the setup-regal linter to v1 and the golangci-lint action to v4 to help resolve the node deprecation warnings.
setup-regal
golangci-lint
node
false
bats-core
cache: false
setup-go
Last node deprecation warning to be resolved after https://github.com/bats-core/bats-action/pull/2 is merged and our action is updated.
Updates the
setup-regal
linter to v1 and thegolangci-lint
action to v4 to help resolve thenode
deprecation warnings.false
to the install params onbats-core
: I was seeing a ton of new warnings/errors that weren't there before (https://github.com/open-policy-agent/conftest/actions/runs/7901911540) when attempting to install these tools, but it doesn't look like we even use them.cache: false
tosetup-go
: I was seeing a ton of file exists errors (https://github.com/open-policy-agent/conftest/actions/runs/7902189087) and it looks like people were reporting similar problems when caching was enabled (https://github.com/golangci/golangci-lint-action/issues/807 and https://github.com/golangci/golangci-lint-action/issues/677). Resolution seems to be to disable the cache, albeit most agree it feels like a workaround. It does appear to resolve the issue, and build times don't seem to be impacted much if at all.Last
node
deprecation warning to be resolved after https://github.com/bats-core/bats-action/pull/2 is merged and our action is updated.