Skip to content

Add govulncheck to CI and bump dependencies#2362

Merged
lammel merged 1 commit into
labstack:masterfrom
aldas:add_govulncheck_2_ci
Dec 14, 2022
Merged

Add govulncheck to CI and bump dependencies#2362
lammel merged 1 commit into
labstack:masterfrom
aldas:add_govulncheck_2_ci

Conversation

@aldas

@aldas aldas commented Dec 13, 2022

Copy link
Copy Markdown
Contributor

Add https://pkg.go.dev/golang.org/x/vuln/cmd/govulncheck to CI flow and bump dependencies

I had to refactor CI flow to 2 parts as govulncheck reports problem for older Go versions thus causing workflow to fail. Therefore run static analysis only with latest Go version. There is no point to run golint and staticcheck with older versions as they are almost always teemed to fail (because of vulns that have patched in later versions).

I added env.LATEST_GO_VERSION so it is easier in future to change Go version for step where are using it"single" version of GO.

@aldas aldas force-pushed the add_govulncheck_2_ci branch from 933905e to 97db223 Compare December 13, 2022 08:59
@aldas aldas force-pushed the add_govulncheck_2_ci branch from eafcf93 to bc75cc2 Compare December 13, 2022 09:55
@aldas aldas requested a review from lammel December 13, 2022 10:06
@aldas

aldas commented Dec 13, 2022

Copy link
Copy Markdown
Contributor Author

@lammel please review

@lammel lammel left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!
Great to see govulncheck for echo. Should help when releasing.
Let's see how many vuln warnings we get.

@lammel lammel merged commit abecadc into labstack:master Dec 14, 2022
@aldas aldas mentioned this pull request Dec 27, 2022
@aldas aldas deleted the add_govulncheck_2_ci branch December 29, 2022 14:29
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