Skip to content

Upgrade golanglint-ci version #8

Upgrade golanglint-ci version

Upgrade golanglint-ci version #8

Triggered via push May 18, 2024 08:40
Status Success
Total duration 23s
Artifacts

linting.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Lint: cmd/root.go#L1
the average complexity for the package cmd is 1.000000, max is 0.500000
Lint: internal/app/home/view.go#L1
the average complexity for the package home is 1.592593, max is 0.500000
Lint: logger/logger.go#L1
the average complexity for the package logger is 1.300000, max is 0.500000
Lint: main.go#L1
the average complexity for the package main is 3.000000, max is 0.500000
Lint: internal/app/home/model.go#L17
multiple "const" declarations are not allowed; use parentheses instead
Lint: internal/app/home/model.go#L22
multiple "type" declarations are not allowed; use parentheses instead
Lint: internal/app/home/model.go#L27
multiple "type" declarations are not allowed; use parentheses instead
Lint: internal/app/home/model.go#L34
multiple "type" declarations are not allowed; use parentheses instead
Lint: logger/logger.go#L14
type must not be placed after var (desired order: type,const,var,func)
Lint: internal/app/home/banner.go#L38
Error return value of `colorful.Hex` is not checked
Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.