Skip to content

build(deps): bump golangci/golangci-lint-action from 5.0.0 to 5.3.0 #198

build(deps): bump golangci/golangci-lint-action from 5.0.0 to 5.3.0

build(deps): bump golangci/golangci-lint-action from 5.0.0 to 5.3.0 #198

Triggered via push May 6, 2024 08:01
Status Failure
Total duration 4m 30s
Artifacts

go.yml

on: push
Matrix: Build
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
Build (8.12.2): pkg/hyperpic/image/type.go#L42
string `jpg` has 2 occurrences, make it a constant (goconst)
Build (8.12.2): pkg/hyperpic/image/type.go#L39
string `svg` has 2 occurrences, make it a constant (goconst)
Build (8.12.2): pkg/hyperpic/image/type.go#L43
string `jpeg` has 2 occurrences, make it a constant (goconst)
Build (8.12.2): cmd/hyperpic/app/controller/image_controller.go#L164
string `application/octet-stream` has 2 occurrences, make it a constant (goconst)
Build (8.12.2): cmd/hyperpic/app/container/config_service.go#L57
string `/var/lib/` has 2 occurrences, make it a constant (goconst)
Build (8.12.2): pkg/hyperpic/image/options.go#L117
commentFormatting: put a space between `//` and comment text (gocritic)
Build (8.12.2): pkg/hyperpic/image/option_parser.go#L20
Comment should end in a period (godot)
Build (8.12.2): pkg/hyperpic/image/option_parser.go#L25
Comment should end in a period (godot)
Build (8.12.2): pkg/hyperpic/image/option_parser.go#L162
Comment should end in a period (godot)
Build (8.12.2): pkg/hyperpic/image/process.go#L22
File is not `gofmt`-ed with `-s` (gofmt)
Build (8.12.2)
Restore cache failed: Dependencies file is not found in /home/runner/work/hyperpic/hyperpic. Supported file pattern: go.sum
Build (8.12.2)
Unexpected input(s) 'skip-pkg-cache', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'annotations', 'args', 'cache-invalidation-interval']
Build (8.12.2)
Unexpected input(s) 'skip-pkg-cache', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'annotations', 'args', 'cache-invalidation-interval']