Skip to content

Change: make Csaf Downloader usable as library #5

Change: make Csaf Downloader usable as library

Change: make Csaf Downloader usable as library #5

Triggered via pull request April 16, 2024 12:55
Status Failure
Total duration 1m 9s
Artifacts

go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
build: cmd/csaf_downloader/config.go#L9
don't use an underscore in package name
build: cmd/csaf_downloader/config.go#L38
exported type ValidationMode should have comment or be unexported
build: cmd/csaf_downloader/config.go#L41
exported const ValidationStrict should have comment (or a comment on this block) or be unexported
build: cmd/csaf_downloader/config.go#L45
exported type Config should have comment or be unexported
build: cmd/csaf_downloader/config.go#L255
comment on exported method Config.Prepare should be of the form "Prepare ..."
build: cmd/csaf_downloader/downloader.go#L9
don't use an underscore in package name
build: cmd/csaf_downloader/downloader.go#L41
exported type Downloader should have comment or be unexported
build: cmd/csaf_downloader/downloader.go#L58
exported function NewDownloader should have comment or be unexported
build: cmd/csaf_downloader/downloader.go#L84
exported method Downloader.Close should have comment or be unexported
build: cmd/csaf_downloader/downloader.go#L768
comment on exported method Downloader.Run should be of the form "Run ..."
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/