Skip to content

Improve the API documentation #217

Improve the API documentation

Improve the API documentation #217

Triggered via push October 19, 2024 15:32
Status Failure
Total duration 4m 28s
Artifacts
Build, test and lint
4m 19s
Build, test and lint
Code Test Coverage
28s
Code Test Coverage
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 2 warnings
Build, test and lint: src/playlists/manager.go#L256
S1002: should omit comparison to bool constant, can be simplified to `!*args.Public` (gosimple)
Build, test and lint: src/playlists/manager.go#L263
S1002: should omit comparison to bool constant, can be simplified to `!args.RemoveAllTracks` (gosimple)
Build, test and lint: src/webserver/subsonic/create_playlist.go#L67
S1011: should replace loop with `playlistUpdate.AddTracks = append(playlistUpdate.AddTracks, trackIDs...)` (gosimple)
Build, test and lint
issues found
Code Test Coverage
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build, test and lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/