Skip to content

fix: cleanup workflows and makefile #6

fix: cleanup workflows and makefile

fix: cleanup workflows and makefile #6

Triggered via pull request October 25, 2023 10:31
Status Success
Total duration 3m 8s
Artifacts

reviewdog-staticcheck.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
reviewdog: pkg/resources/file_format.go#L23
[staticcheck] reported by reviewdog 🐶 var formatTypeOptions is unused Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"var formatTypeOptions is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/terraform-provider-snowflake/terraform-provider-snowflake/pkg/resources/file_format.go","range":{"start":{"line":23,"column":5}}},"severity":"ERROR"}
reviewdog: pkg/resources/file_format.go#L1093
[staticcheck] reported by reviewdog 🐶 func getFormatTypeOption is unused Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"func getFormatTypeOption is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/terraform-provider-snowflake/terraform-provider-snowflake/pkg/resources/file_format.go","range":{"start":{"line":1093,"column":6}}},"severity":"ERROR"}
reviewdog: pkg/resources/file_format.go#L1104
[staticcheck] reported by reviewdog 🐶 func validateFormatTypeOptions is unused Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"func validateFormatTypeOptions is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/terraform-provider-snowflake/terraform-provider-snowflake/pkg/resources/file_format.go","range":{"start":{"line":1104,"column":6}}},"severity":"ERROR"}
reviewdog: pkg/resources/grant_privileges_to_role_acceptance_test.go#L97
[staticcheck] reported by reviewdog 🐶 func grantPrivilegesToRole_onAccountConfigAllPrivileges is unused Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"func grantPrivilegesToRole_onAccountConfigAllPrivileges is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/terraform-provider-snowflake/terraform-provider-snowflake/pkg/resources/grant_privileges_to_role_acceptance_test.go","range":{"start":{"line":97,"column":6}}},"severity":"ERROR"}
reviewdog: pkg/resources/helper_expansion.go#L28
[staticcheck] reported by reviewdog 🐶 func expandStringListAllowEmpty is unused Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"func expandStringListAllowEmpty is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/terraform-provider-snowflake/terraform-provider-snowflake/pkg/resources/helper_expansion.go","range":{"start":{"line":28,"column":6}}},"severity":"ERROR"}
reviewdog: pkg/resources/helpers_test.go#L51
[staticcheck] reported by reviewdog 🐶 func database is unused Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"func database is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/terraform-provider-snowflake/terraform-provider-snowflake/pkg/resources/helpers_test.go","range":{"start":{"line":51,"column":6}}},"severity":"ERROR"}
reviewdog: pkg/resources/helpers_test.go#L150
[staticcheck] reported by reviewdog 🐶 func networkPolicy is unused Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"func networkPolicy is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/terraform-provider-snowflake/terraform-provider-snowflake/pkg/resources/helpers_test.go","range":{"start":{"line":150,"column":6}}},"severity":"ERROR"}
reviewdog: pkg/resources/helpers_test.go#L159
[staticcheck] reported by reviewdog 🐶 func pipe is unused Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"func pipe is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/terraform-provider-snowflake/terraform-provider-snowflake/pkg/resources/helpers_test.go","range":{"start":{"line":159,"column":6}}},"severity":"ERROR"}
reviewdog: pkg/resources/helpers_test.go#L168
[staticcheck] reported by reviewdog 🐶 func resourceMonitor is unused Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"func resourceMonitor is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/terraform-provider-snowflake/terraform-provider-snowflake/pkg/resources/helpers_test.go","range":{"start":{"line":168,"column":6}}},"severity":"ERROR"}
reviewdog: pkg/resources/helpers_test.go#L186
[staticcheck] reported by reviewdog 🐶 func share is unused Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"func share is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/terraform-provider-snowflake/terraform-provider-snowflake/pkg/resources/helpers_test.go","range":{"start":{"line":186,"column":6}}},"severity":"ERROR"}