Skip to content

fix(ci): Fixed ci and makefile #96

fix(ci): Fixed ci and makefile

fix(ci): Fixed ci and makefile #96

Triggered via push August 8, 2024 10:55
Status Failure
Total duration 52s
Artifacts

go.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 12 warnings
build
Process completed with exit code 1.
golangci: internal/reader/document.go#L237
string `document` has 4 occurrences, make it a constant (goconst)
golangci: internal/searcher/searcher.go#L85
string `unrecognized` has 3 occurrences, make it a constant (goconst)
golangci: internal/sender/sender.go#L26
commentFormatting: put a space between `//` and comment text (gocritic)
golangci: internal/server/files.go#L17
commentFormatting: put a space between `//` and comment text (gocritic)
golangci: internal/server/files.go#L23
commentFormatting: put a space between `//` and comment text (gocritic)
golangci: internal/server/files.go#L45
Comment should end in a period (godot)
golangci: internal/server/files.go#L81
Comment should end in a period (godot)
golangci: internal/server/files.go#L101
Comment should end in a period (godot)
golangci: internal/sender/sender.go#L50
G107: Potential HTTP request made with variable url (gosec)
golangci: internal/ocr/logoper/logoper.go#L128
G107: Potential HTTP request made with variable url (gosec)
build
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, 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/
golangci
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
golangci: internal/ocr/artifacts/artifacts.go#L15
var-naming: struct field JsonName should be JSONName (revive)
golangci: internal/ocr/artifacts/artifacts.go#L22
var-naming: struct field GroupJsonName should be GroupJSONName (revive)
golangci: internal/reader/document.go#L53
var-naming: struct field JobId should be JobID (revive)
golangci: internal/reader/document.go#L62
var-naming: struct field GroupJsonName should be GroupJSONName (revive)
golangci: internal/reader/document.go#L65
var-naming: struct field JsonName should be JSONName (revive)
golangci: internal/reader/reader.go#L84
if-return: redundant if ...; err != nil check, just return error instead. (revive)
golangci: internal/reader/reader.go#L99
if-return: redundant if ...; err != nil check, just return error instead. (revive)
golangci: internal/ocr/processing/processing.go#L8
var-naming: struct field JobId should be JobID (revive)
golangci: internal/ocr/processing/processing.go#L15
var-naming: interface method parameter jobId should be jobID (revive)
golangci: internal/ocr/raw/raw.go#L40
unused-parameter: parameter 'jobId' seems to be unused, consider removing or renaming it as _ (revive)