Skip to content

chore(ci): add golangci-lint #3

chore(ci): add golangci-lint

chore(ci): add golangci-lint #3

Triggered via pull request August 16, 2023 05:07
Status Failure
Total duration 1m 10s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Run linters: dependency/vault_read.go#L143
`(*VaultReadQuery).readSecret` - `opts` is unused (unparam)
Run linters: test/helpers.go#L13
import 'github.com/hashicorp/consul/sdk/testutil' is not allowed from list 'Main' (depguard)
Run linters: test/helpers.go#L14
import 'github.com/stretchr/testify/assert' is not allowed from list 'Main' (depguard)
Run linters: test/helpers.go#L15
import 'github.com/stretchr/testify/require' is not allowed from list 'Main' (depguard)
Run linters: cli.go#L16
import 'github.com/hashicorp/consul-template/config' is not allowed from list 'Main' (depguard)
Run linters: cli.go#L17
import 'github.com/hashicorp/consul-template/logging' is not allowed from list 'Main' (depguard)
Run linters: cli.go#L18
import 'github.com/hashicorp/consul-template/manager' is not allowed from list 'Main' (depguard)
Run linters: cli.go#L19
import 'github.com/hashicorp/consul-template/service_os' is not allowed from list 'Main' (depguard)
Run linters: cli.go#L20
import 'github.com/hashicorp/consul-template/signals' is not allowed from list 'Main' (depguard)
Run linters: cli.go#L21
import 'github.com/hashicorp/consul-template/version' is not allowed from list 'Main' (depguard)