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

ci: add more checks #280

Merged
merged 4 commits into from
Dec 26, 2018
Merged

ci: add more checks #280

merged 4 commits into from
Dec 26, 2018

Conversation

cyphar
Copy link
Member

@cyphar cyphar commented Dec 26, 2018

It's necessary to add CI checks for gosec as well as go mod vendor sanity.

Signed-off-by: Aleksa Sarai asarai@suse.de

Signed-off-by: Aleksa Sarai <asarai@suse.de>
After doing an audit of the source with gosec, we now check all errors
explicitly -- with #nosec labels added where it is appropriate (G104 is
the error type for unhandled errors). We don't care about G301, G302, or
G304 because they simply have too much noise.

Signed-off-by: Aleksa Sarai <asarai@suse.de>
Signed-off-by: Aleksa Sarai <asarai@suse.de>
Signed-off-by: Aleksa Sarai <asarai@suse.de>
@cyphar
Copy link
Member Author

cyphar commented Dec 26, 2018

LGTM.

@cyphar cyphar merged commit ac288e3 into opencontainers:master Dec 26, 2018
cyphar added a commit that referenced this pull request Dec 26, 2018
  ci: add vendor/ checks
  ci: add gosec check
  *: improve checking of errors and add gosec labels
  ci: switch to leap 15

LGTMs: @cyphar
Closes #280
@cyphar cyphar deleted the ci-go-mod-vendor branch December 26, 2018 17:01
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.

1 participant