api to fetch, upload and list secrets #33
ci.yml
on: push
Verifying Dependencies
2m 17s
golangci-lint
3m 8s
Build app
41s
Annotations
10 errors and 10 warnings
golangci-lint:
server/secrets/service.go#L115
commentFormatting: put a space between `//` and comment text (gocritic)
|
golangci-lint:
config/db.go#L7
Comment should end in a period (godot)
|
golangci-lint:
config/db.go#L11
Comment should end in a period (godot)
|
golangci-lint:
server/cloud/cld/environment.go#L19
File is not `gofumpt`-ed (gofumpt)
|
golangci-lint:
server/cloud/aws/storage.go#L40
File is not `gofumpt`-ed (gofumpt)
|
golangci-lint:
server/cloud/aws/storage.go#L103
File is not `gofumpt`-ed (gofumpt)
|
golangci-lint:
config/db.go#L18
tag is not aligned, should be: default:"20" split_words:"true" (tagalign)
|
golangci-lint:
config/db.go#L19
tag is not aligned, should be: default:"30" split_words:"true" (tagalign)
|
golangci-lint:
config/db.go#L20
tag is not aligned, should be: default:"1000" split_words:"true" (tagalign)
|
golangci-lint:
config/db.go#L21
tag is not aligned, should be: required:"true" split_words:"true" (tagalign)
|
Verifying Dependencies
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/
|
Build app
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/
|
golangci-lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-go@v4, golangci/golangci-lint-action@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-lint:
config/server.go#L42
deep-exit: calls to log.Fatalf only in main() or init() functions (revive)
|
golangci-lint:
server/lib/http.go#L16
argument-limit: maximum number of arguments per function exceeded; max 4 but got 5 (revive)
|
golangci-lint:
server/secrets/fetch.go#L34
cyclomatic: function Fetch has cyclomatic complexity 9 (> max enabled 8) (revive)
|
golangci-lint:
server/secrets/upload.go#L16
struct-tag: tag on not-exported field decodedData (revive)
|
golangci-lint:
server/secrets/service.go#L116
comment-spacings: no space between comment delimiter and comment text (revive)
|
golangci-lint:
server/secrets/fetch.go#L17
struct-tag: tag on not-exported field orgID (revive)
|
golangci-lint:
server/secrets/service.go#L118
comment-spacings: no space between comment delimiter and comment text (revive)
|