Skip to content

fix: lint && fmt

fix: lint && fmt #6

Triggered via push October 22, 2024 16:16
Status Failure
Total duration 50s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

34 errors and 3 warnings
Format
Cannot open: File exists
Format
Cannot open: File exists
Format
Cannot open: File exists
Format
Cannot open: File exists
Format
Cannot open: File exists
Format
Cannot open: File exists
Format
Cannot open: File exists
Format
Cannot open: File exists
Format
Cannot open: File exists
Format
Cannot open: File exists
Lint: internal/log/distributed.go#L435
S1004: should use !bytes.Equal([]byte{byte(RaftRPC)}, b) instead (gosimple)
Lint: internal/log/store_test.go#L86
SA4006: this value of `f` is never used (staticcheck)
Lint
issues found
Lint
Cannot open: File exists
Lint
Cannot open: File exists
Lint
Cannot open: File exists
Lint
Cannot open: File exists
Lint
Cannot open: File exists
Lint
Cannot open: File exists
Lint
Cannot open: File exists
Lint
Cannot open: File exists
Lint
Cannot open: File exists
Lint
Cannot open: File exists
Test
Cannot open: File exists
Test
Cannot open: File exists
Test
Cannot open: File exists
Test
Cannot open: File exists
Test
Cannot open: File exists
Test
Cannot open: File exists
Test
Cannot open: File exists
Test
Cannot open: File exists
Test
Cannot open: File exists
Test
Cannot open: File exists
Test
Process completed with exit code 1.
Format
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Lint
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Test
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2