Improve the API documentation #217
build-test-lint.yml
on: push
Build, test and lint
4m 19s
Code Test Coverage
28s
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/
|