Skip to content
This repository has been archived by the owner on Sep 30, 2023. It is now read-only.

Update README.md

Update README.md #128

Triggered via push September 30, 2023 02:13
Status Success
Total duration 23s
Artifacts

master_check.yml

on: push
golangci lint
13s
golangci lint
Fit to window
Zoom out
Zoom in

Annotations

63 errors and 3 warnings
[golangci] internal/verifier/verifier.go#L4: internal/verifier/verifier.go#L4
import 'github.com/LaurenceGA/go-crev/internal/command/io' is not allowed from list 'Main' (depguard)
[golangci] internal/verifier/verifier.go#L5: internal/verifier/verifier.go#L5
import 'github.com/LaurenceGA/go-crev/mod' is not allowed from list 'Main' (depguard)
[golangci] internal/verifier/verifier.go#L7: internal/verifier/verifier.go#L7
import 'github.com/jedib0t/go-pretty/table' is not allowed from list 'Main' (depguard)
[golangci] internal/files/xdg.go#L38: internal/files/xdg.go#L38
Comment should end in a period (godot)
[golangci] internal/files/xdg.go#L9: internal/files/xdg.go#L9
import 'github.com/LaurenceGA/go-crev/meta' is not allowed from list 'Main' (depguard)
[golangci] internal/files/xdg.go#L10: internal/files/xdg.go#L10
import 'github.com/muesli/go-app-paths' is not allowed from list 'Main' (depguard)
[golangci] internal/command/flow/trust/create.go#L10: internal/command/flow/trust/create.go#L10
import 'github.com/LaurenceGA/go-crev/internal/command/io' is not allowed from list 'Main' (depguard)
[golangci] internal/command/flow/trust/create.go#L11: internal/command/flow/trust/create.go#L11
import 'github.com/LaurenceGA/go-crev/internal/config' is not allowed from list 'Main' (depguard)
[golangci] internal/command/flow/trust/create.go#L12: internal/command/flow/trust/create.go#L12
import 'github.com/LaurenceGA/go-crev/internal/github' is not allowed from list 'Main' (depguard)
[golangci] internal/command/flow/trust/create.go#L13: internal/command/flow/trust/create.go#L13
import 'github.com/LaurenceGA/go-crev/internal/id' is not allowed from list 'Main' (depguard)
[golangci] internal/command/flow/trust/create.go#L14: internal/command/flow/trust/create.go#L14
import 'github.com/LaurenceGA/go-crev/internal/store' is not allowed from list 'Main' (depguard)
[golangci] internal/command/flow/trust/create.go#L15: internal/command/flow/trust/create.go#L15
import 'github.com/LaurenceGA/go-crev/proof/trust' is not allowed from list 'Main' (depguard)
[golangci] internal/command/flow/trust/create.go#L16: internal/command/flow/trust/create.go#L16
import 'github.com/google/uuid' is not allowed from list 'Main' (depguard)
[golangci] internal/store/fetcher/fetcher.go#L10: internal/store/fetcher/fetcher.go#L10
import 'github.com/LaurenceGA/go-crev/internal/files' is not allowed from list 'Main' (depguard)
[golangci] internal/store/fetcher/fetcher.go#L11: internal/store/fetcher/fetcher.go#L11
import 'github.com/LaurenceGA/go-crev/internal/git' is not allowed from list 'Main' (depguard)
[golangci] internal/store/fetcher/fetcher.go#L12: internal/store/fetcher/fetcher.go#L12
import 'github.com/LaurenceGA/go-crev/internal/store' is not allowed from list 'Main' (depguard)
[golangci] internal/store/fetcher/fetcher.go#L13: internal/store/fetcher/fetcher.go#L13
import 'github.com/whilp/git-urls' is not allowed from list 'Main' (depguard)
[golangci] internal/store/fetcher/fetcher_test.go#L9: internal/store/fetcher/fetcher_test.go#L9
import 'github.com/LaurenceGA/go-crev/internal/git' is not allowed from list 'Main' (depguard)
[golangci] internal/store/fetcher/fetcher_test.go#L10: internal/store/fetcher/fetcher_test.go#L10
import 'github.com/LaurenceGA/go-crev/internal/mocks' is not allowed from list 'Main' (depguard)
[golangci] internal/store/fetcher/fetcher_test.go#L11: internal/store/fetcher/fetcher_test.go#L11
import 'github.com/LaurenceGA/go-crev/internal/store' is not allowed from list 'Main' (depguard)
[golangci] internal/store/fetcher/fetcher_test.go#L12: internal/store/fetcher/fetcher_test.go#L12
import 'github.com/golang/mock/gomock' is not allowed from list 'Main' (depguard)
[golangci] internal/store/fetcher/fetcher_test.go#L13: internal/store/fetcher/fetcher_test.go#L13
import 'github.com/stretchr/testify/suite' is not allowed from list 'Main' (depguard)
[golangci] mod/mod_test.go#L11: mod/mod_test.go#L11
import 'github.com/LaurenceGA/go-crev/internal/mocks' is not allowed from list 'Main' (depguard)
[golangci] mod/mod_test.go#L12: mod/mod_test.go#L12
import 'github.com/golang/mock/gomock' is not allowed from list 'Main' (depguard)
[golangci] mod/mod_test.go#L13: mod/mod_test.go#L13
import 'github.com/stretchr/testify/suite' is not allowed from list 'Main' (depguard)
[golangci] internal/github/github.go#L7: internal/github/github.go#L7
import 'github.com/google/go-github/github' is not allowed from list 'Main' (depguard)
[golangci] proof/trust/trust.go#L10: proof/trust/trust.go#L10
import 'github.com/LaurenceGA/go-crev/internal/id' is not allowed from list 'Main' (depguard)
[golangci] proof/trust/trust.go#L11: proof/trust/trust.go#L11
import 'github.com/LaurenceGA/go-crev/proof' is not allowed from list 'Main' (depguard)
[golangci] internal/verifier/cloc/cloc.go#L7: internal/verifier/cloc/cloc.go#L7
import 'github.com/hhatto/gocloc' is not allowed from list 'Main' (depguard)
[golangci] cmd/gocrev/main.go#L7: cmd/gocrev/main.go#L7
import 'github.com/LaurenceGA/go-crev/internal/command' is not allowed from list 'Main' (depguard)
[golangci] cmd/gocrev/main.go#L8: cmd/gocrev/main.go#L8
import 'github.com/LaurenceGA/go-crev/internal/command/io' is not allowed from list 'Main' (depguard)
[golangci] internal/command/flow/trust/trust_test/trust_test.go#L8: internal/command/flow/trust/trust_test/trust_test.go#L8
import 'github.com/LaurenceGA/go-crev/internal/command/flow/trust' is not allowed from list 'Main' (depguard)
[golangci] internal/command/flow/trust/trust_test/trust_test.go#L9: internal/command/flow/trust/trust_test/trust_test.go#L9
import 'github.com/LaurenceGA/go-crev/internal/command/flow/trust/mock' is not allowed from list 'Main' (depguard)
[golangci] internal/command/flow/trust/trust_test/trust_test.go#L11: internal/command/flow/trust/trust_test/trust_test.go#L11
import 'github.com/LaurenceGA/go-crev/internal/config' is not allowed from list 'Main' (depguard)
[golangci] internal/command/flow/trust/trust_test/trust_test.go#L12: internal/command/flow/trust/trust_test/trust_test.go#L12
import 'github.com/LaurenceGA/go-crev/internal/github' is not allowed from list 'Main' (depguard)
[golangci] internal/command/flow/trust/trust_test/trust_test.go#L13: internal/command/flow/trust/trust_test/trust_test.go#L13
import 'github.com/LaurenceGA/go-crev/internal/id' is not allowed from list 'Main' (depguard)
[golangci] internal/command/flow/trust/trust_test/trust_test.go#L15: internal/command/flow/trust/trust_test/trust_test.go#L15
import 'github.com/golang/mock/gomock' is not allowed from list 'Main' (depguard)
[golangci] internal/command/flow/trust/trust_test/trust_test.go#L16: internal/command/flow/trust/trust_test/trust_test.go#L16
import 'github.com/stretchr/testify/assert' is not allowed from list 'Main' (depguard)
[golangci] internal/command/verify.go#L18: internal/command/verify.go#L18
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] internal/command/id.go#L32: internal/command/id.go#L32
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] internal/command/store.go#L60: internal/command/store.go#L60
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] internal/command/store.go#L74: internal/command/store.go#L74
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] internal/command/id.go#L67: internal/command/id.go#L67
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] internal/command/id.go#L6: internal/command/id.go#L6
import 'github.com/LaurenceGA/go-crev/internal/di' is not allowed from list 'Main' (depguard)
[golangci] internal/command/id.go#L7: internal/command/id.go#L7
import 'github.com/spf13/cobra' is not allowed from list 'Main' (depguard)
[golangci] internal/command/io.go#L5: internal/command/io.go#L5
import 'github.com/spf13/cobra' is not allowed from list 'Main' (depguard)
[golangci] internal/command/review.go#L4: internal/command/review.go#L4
import 'github.com/LaurenceGA/go-crev/internal/command/flow/review' is not allowed from list 'Main' (depguard)
[golangci] internal/command/review.go#L5: internal/command/review.go#L5
import 'github.com/LaurenceGA/go-crev/internal/di' is not allowed from list 'Main' (depguard)
[golangci] internal/command/review.go#L6: internal/command/review.go#L6
import 'github.com/spf13/cobra' is not allowed from list 'Main' (depguard)
[golangci] internal/command/root.go#L7: internal/command/root.go#L7
import 'github.com/LaurenceGA/go-crev/meta' is not allowed from list 'Main' (depguard)
[golangci] internal/command/store.go#L6: internal/command/store.go#L6
import 'github.com/LaurenceGA/go-crev/internal/di' is not allowed from list 'Main' (depguard)
[golangci] internal/command/trust.go#L4: internal/command/trust.go#L4
import 'github.com/LaurenceGA/go-crev/internal/command/flow/trust' is not allowed from list 'Main' (depguard)
[golangci] internal/command/root_test.go#L7: internal/command/root_test.go#L7
import 'github.com/stretchr/testify/suite' is not allowed from list 'Main' (depguard)
[golangci] internal/config/manipulator.go#L7: internal/config/manipulator.go#L7
import 'github.com/LaurenceGA/go-crev/internal/files' is not allowed from list 'Main' (depguard)
[golangci] internal/config/manipulator.go#L53: internal/config/manipulator.go#L53
mnd: Magic number: 0600, in <argument> detected (gomnd)
[golangci] internal/command/flow/idset/idset.go#L11: internal/command/flow/idset/idset.go#L11
import 'github.com/LaurenceGA/go-crev/internal/git' is not allowed from list 'Main' (depguard)
[golangci] internal/command/flow/idset/idset.go#L12: internal/command/flow/idset/idset.go#L12
import 'github.com/LaurenceGA/go-crev/internal/github' is not allowed from list 'Main' (depguard)
[golangci] internal/command/flow/review/create.go#L16: internal/command/flow/review/create.go#L16
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] internal/store/writer/writer.go#L41: internal/store/writer/writer.go#L41
mnd: Magic number: 0755, in <argument> detected (gomnd)
[golangci] internal/store/writer/writer.go#L50: internal/store/writer/writer.go#L50
mnd: Magic number: 0600, in <argument> detected (gomnd)
[golangci] meta/build.go#L3: meta/build.go#L3
directive `// nolint:gochecknoglobals // set by ldflags` should be written without leading space as `//nolint:gochecknoglobals // set by ldflags` (nolintlint)
golangci lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2.4.0, reviewdog/action-golangci-lint@v2.0.2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
golangci lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
golangci lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/