Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: golangci-lint CI workflow #16

Merged
merged 13 commits into from
Sep 12, 2024
Merged

chore: golangci-lint CI workflow #16

merged 13 commits into from
Sep 12, 2024

Conversation

ARR4N
Copy link
Collaborator

@ARR4N ARR4N commented Sep 12, 2024

Why this should be merged

Dental Code hygiene.

How this works

The GitHub workflow is effectively just the "Simple Example" from the action's README. I bumped the Go test workflow's action versions while at it.

The existing golangci.yml is overhauled to liberally include linters; see the comment in the file about rationale and how we can gradually relax this if necessary. Files without libevm in their path are excluded so we ignore upstream code.

Everything else is just to placate the linter.

How this was tested

Local golangci-lint run + CI.

@ARR4N ARR4N marked this pull request as ready for review September 12, 2024 14:09
@ARR4N ARR4N requested review from a team, darioush, ceyonur and michaelkaplan13 and removed request for a team September 12, 2024 14:09
@ARR4N ARR4N merged commit 04543ea into libevm Sep 12, 2024
2 checks passed
@ARR4N ARR4N deleted the arr4n/golangci-lint branch September 12, 2024 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants