chore: Update setup-regal and golangci-lint actions to latest #918
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 ("File exists" errors when un-taring golangci-lint on upgrading to setup-go@v4 from setup-go@v3 golangci/golangci-lint-action#807 and Loads of "Error: /usr/bin/tar: ../../../go/pkg/mod/....: Cannot open: File exists golangci/golangci-lint-action#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 bats-core/bats-action#2 is merged and our action is updated.