Skip to content

Update GitHub Action and golangci-lint to latest - #116

Open
r0manarmy wants to merge 1 commit into
didip:masterfrom
r0manarmy:update-actions
Open

Update GitHub Action and golangci-lint to latest#116
r0manarmy wants to merge 1 commit into
didip:masterfrom
r0manarmy:update-actions

Conversation

@r0manarmy

Copy link
Copy Markdown

Project currently uses golangci-lint-action@v4, which is about two years out of date. It was also bringing in an old version of golangci-lint, which couldn't lint any past go 1.24.

Updating action (v4 -> v9) and linter (v1 -> v2). Linter v2 uses a new schema. golangci-lint migrate was used to migrate the schema.

New linter also flagged a couple of code issues. Updating code to fix lint errors.

Project currently uses golangci-lint-action@v4, which is about two years
out of date. It was also bringing in an old version of golangci-lint,
which couldn't lint any past go 1.24.

Updating action (v4 -> v9) and linter (v1 -> v2). Linter v2 uses a new
schema. `golangci-lint migrate` was used to migrate the schema.

New linter also flagged a couple of code issues. Updating code to fix
lint errors.
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