Skip to content

REARv0.0.1 implementation in FLUIDOS Node workflow and data structures #113

REARv0.0.1 implementation in FLUIDOS Node workflow and data structures

REARv0.0.1 implementation in FLUIDOS Node workflow and data structures #113

Triggered via pull request July 9, 2024 21:00
Status Failure
Total duration 4m 22s
Artifacts

lint.yaml

on: pull_request
Lint golang files
4m 11s
Lint golang files
Enforce go.mod tidiness
2m 27s
Enforce go.mod tidiness
Lint bash files
4s
Lint bash files
Lint markdown files
18s
Lint markdown files
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 7 warnings
Lint golang files: pkg/rear-manager/solver_controller.go#L118
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/fluidos-project/node) (gci)
Lint golang files: apis/nodecore/v1alpha1/webhook_suite_test.go#L28
File is not `goimports`-ed with -local github.com/fluidos-project/node (goimports)
Lint golang files: apis/nodecore/v1alpha1/flavor_webhook.go#L35
line is 250 characters (lll)
Lint golang files: apis/nodecore/v1alpha1/flavor_webhook.go#L46
line is 253 characters (lll)
Lint golang files: apis/nodecore/v1alpha1/solver_webhook.go#L35
line is 250 characters (lll)
Lint golang files: apis/nodecore/v1alpha1/solver_webhook.go#L47
line is 253 characters (lll)
Lint golang files: apis/reservation/v1alpha1/contract_webhook.go#L37
line is 256 characters (lll)
Lint golang files: apis/reservation/v1alpha1/contract_webhook.go#L48
line is 259 characters (lll)
Lint golang files: apis/reservation/v1alpha1/reservation_webhook.go#L35
line is 271 characters (lll)
Lint golang files: apis/reservation/v1alpha1/reservation_webhook.go#L46
line is 274 characters (lll)
Enforce go.mod tidiness
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint golang files
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-go@v4, golangci/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint golang files: apis/reservation/v1alpha1/transaction_types.go#L50
exported: comment on exported type Transaction should be of the form "Transaction ..." (with optional leading article) (revive)
Lint golang files: apis/reservation/v1alpha1/contract_types.go#L64
exported: comment on exported type Contract should be of the form "Contract ..." (with optional leading article) (revive)
Lint golang files: apis/nodecore/v1alpha1/flavor_types.go#L120
exported: comment on exported type Flavor should be of the form "Flavor ..." (with optional leading article) (revive)
Lint golang files: apis/nodecore/v1alpha1/webhook_suite_test.go#L120
if-return: redundant if ...; err != nil check, just return error instead. (revive)
Lint golang files: pkg/rear-manager/allocation_controller.go#L130
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)