Skip to content

[CI] Add golang tests and linter launch #1

[CI] Add golang tests and linter launch

[CI] Add golang tests and linter launch #1

Triggered via pull request August 3, 2024 01:31
Status Failure
Total duration 45s
Artifacts

go_lint.yaml

on: pull_request
Go linter for images
38s
Go linter for images
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
Go linter for images
commentFormatting: put a space between `//` and comment text (gocritic)
Go linter for images
captLocal: `LVMLogicalVolumeSpec' should not be capitalized (gocritic)
Go linter for images
captLocal: `LVMLogicalVolumeName' should not be capitalized (gocritic)
Go linter for images
captLocal: `LVMLogicalVolumeName' should not be capitalized (gocritic)
Go linter for images
captLocal: `LVMLogicalVolumeName' should not be capitalized (gocritic)
Go linter for images
captLocal: `LvmType' should not be capitalized (gocritic)
Go linter for images
wrapperFunc: use strings.ReplaceAll method in `strings.Replace(mapperPath, "/", "-", -1)` (gocritic)
Go linter for images
wrapperFunc: use strings.ReplaceAll method in `strings.Replace(shortPath, "-", "--", -1)` (gocritic)
Go linter for images
commentFormatting: put a space between `//` and comment text (gocritic)
Go linter for images
var-naming: struct field volumeId should be volumeID (revive)
Go linter for images
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Go linter for images
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Go linter for images
Restore cache failed: Dependencies file is not found in /opt/actions-runners/2/_work/sds-local-volume/sds-local-volume. Supported file pattern: go.sum