Skip to content

Fix/lint

Fix/lint #14

Triggered via pull request June 20, 2024 01:28
Status Failure
Total duration 1m 14s
Artifacts

ci.yml

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

Annotations

14 errors and 10 warnings
build (arm64)
buildx failed with: ERROR: failed to solve: process "/bin/sh -c go mod download" did not complete successfully: exit code: 1
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
build (amd64)
The job was canceled because "arm64" failed.
build (amd64)
The operation was canceled.
unit-test
Process completed with exit code 1.
lint
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
lint: internal/pkl/reader/crossplane_reader.go#L15
package-comments: should have a package comment (revive)
lint: internal/pkl/reader/crossplane_reader.go#L30
exported: exported type CrossplaneReader should have comment or be unexported (revive)
lint: internal/pkl/reader/crossplane_reader.go#L37
exported: exported method CrossplaneReader.Scheme should have comment or be unexported (revive)
lint: internal/pkl/reader/crossplane_reader.go#L41
exported: exported method CrossplaneReader.IsGlobbable should have comment or be unexported (revive)
lint: internal/pkl/reader/crossplane_reader.go#L45
exported: exported method CrossplaneReader.HasHierarchicalUris should have comment or be unexported (revive)
lint: internal/pkl/reader/crossplane_reader.go#L73
exported: comment on exported function Close should be of the form "Close ..." (revive)
lint: internal/pkl/reader/crossplane_reader.go#L78
exported: exported var WithCrossplane should have comment or be unexported (revive)
lint: internal/pkl/reader/crossplane_reader.go#L86
exported: exported method CrossplaneReader.BaseRead should have comment or be unexported (revive)
lint: internal/function/fn.go#L15
package-comments: should have a package comment (revive)