Skip to content

main_test

main_test #17

Triggered via push April 25, 2024 19:32
Status Failure
Total duration 1m 49s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 2 warnings
build: app/main.go#L22
tag is not aligned, should be: default:"https://stream.radio-t.com" description:"Stream url" env:"STREAM" long:"stream" short:"s" (tagalign)
build: app/main.go#L23
tag is not aligned, should be: default:"https://radio-t.com/site-api/last/1" description:"Radio-t API" env:"SITE" long:"site" (tagalign)
build: app/main.go#L24
tag is not aligned, should be: default:"./" description:"Recording directory" env:"DIR" long:"dir" short:"d" (tagalign)
build: app/main.go#L25
tag is not aligned, should be: description:"If provided will start API server on the port otherwise server is disabled" env:"PORT" long:"port" short:"p" (tagalign)
build: app/main_test.go#L78
File is not `gci`-ed with -s standard -s default -s prefix(github.com/radio-t/stream-recorder) -s blank -s dot --custom-order (gci)
build
issues found
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build
Restore cache failed: Dependencies file is not found in /home/runner/work/stream-recorder/stream-recorder. Supported file pattern: go.sum