add tests and update the README #2
ci.yml
on: push
Matrix: test
lint
35s
build-artifacts
0s
Annotations
24 errors
|
lint:
cmd/cache_server.go#L82
Error return value of `w.Write` is not checked (errcheck)
|
|
lint:
cmd/cache.go#L82
Error return value of `newCache.save` is not checked (errcheck)
|
|
lint:
cmd/cache.go#L50
Error return value of `os.MkdirAll` is not checked (errcheck)
|
|
lint:
cmd/archiver.go#L623
Error return value of `cache.save` is not checked (errcheck)
|
|
lint:
cmd/archiver.go#L573
Error return value of `cache.save` is not checked (errcheck)
|
|
lint:
cmd/archiver.go#L551
Error return value of `cache.save` is not checked (errcheck)
|
|
lint:
cmd/archiver.go#L203
Error return value of `(*database/sql.Row).Scan` is not checked (errcheck)
|
|
lint:
cmd/archiver.go#L74
Error return value is not checked (errcheck)
|
|
lint:
cmd/archiver.go#L73
Error return value is not checked (errcheck)
|
|
lint:
cmd/archiver.go#L62
Error return value is not checked (errcheck)
|
|
test (1.23):
cmd/progress.go#L42
field currentStart is unused (U1000)
|
|
test (1.23):
cmd/cache_server.go#L6
"io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (SA1019)
|
|
test (1.23):
cmd/cache.go#L346
func (*RowCountCache).cleanExpired is unused (U1000)
|
|
test (1.23):
cmd/cache.go#L305
func (*RowCountCache).setCount is unused (U1000)
|
|
test (1.23):
cmd/cache.go#L283
func (*RowCountCache).getCount is unused (U1000)
|
|
test (1.23):
cmd/cache.go#L160
func (*RowCountCache).save is unused (U1000)
|
|
test (1.23):
cmd/cache.go#L128
func loadCache is unused (U1000)
|
|
test (1.23):
cmd/archiver.go#L459
func (*Archiver).processPartitionsWithProgress is unused (U1000)
|
|
test (1.23):
cmd/archiver.go#L317
func (*Archiver).discoverPartitions is unused (U1000)
|
|
test (1.23):
cmd/archiver.go#L215
func (*Archiver).discoverPartitionsWithUI is unused (U1000)
|
|
test (1.22)
The operation was canceled.
|
|
test (1.22)
The strategy configuration was canceled because "test._1_23" failed
|
|
test (1.21)
The operation was canceled.
|
|
test (1.21)
The strategy configuration was canceled because "test._1_23" failed
|