Skip to content

Store blocks directly #97

Store blocks directly

Store blocks directly #97

Triggered via pull request March 5, 2024 21:03
Status Failure
Total duration 2m 9s
Artifacts

main.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 9 warnings
test (ubuntu-latest, 1.20): renterd/options.go#L28
unnecessary trailing newline (whitespace)
test (ubuntu-latest, 1.20): renterd/store.go#L181
unnecessary leading newline (whitespace)
test (ubuntu-latest, 1.20)
issues found
test (ubuntu-latest, 1.21)
The job was canceled because "ubuntu-latest_1_20" failed.
test (ubuntu-latest, 1.20): renterd/downloader/downloader.go#L44
exported: exported type MetadataStore should have comment or be unexported (revive)
test (ubuntu-latest, 1.20): renterd/persist.go#L6
exported: exported type PinnedBlock should have comment or be unexported (revive)
test (ubuntu-latest, 1.20): renterd/persist.go#L13
exported: exported type MetadataStore should have comment or be unexported (revive)
test (ubuntu-latest, 1.20): persist/sqlite/encoding.go#L40
unnecessary-stmt: switch with only one case can be replaced by an if-then (revive)
test (ubuntu-latest, 1.20): persist/sqlite/encoding.go#L50
unnecessary-stmt: switch with only one case can be replaced by an if-then (revive)
test (ubuntu-latest, 1.20): persist/sqlite/blocks.go#L22
exported: exported method Store.BlockLocation should have comment or be unexported (revive)
test (ubuntu-latest, 1.20): persist/sqlite/blocks.go#L34
exported: exported method Store.Unpin should have comment or be unexported (revive)
test (ubuntu-latest, 1.20): persist/sqlite/blocks.go#L42
exported: exported method Store.Pin should have comment or be unexported (revive)
test (ubuntu-latest, 1.20)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, 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/.