Skip to content

fix: cleanup workflows and makefile #2

fix: cleanup workflows and makefile

fix: cleanup workflows and makefile #2

Triggered via pull request October 25, 2023 09:33
Status Success
Total duration 3m 5s
Artifacts

reviewdog-staticcheck.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
staticcheck: internal/resources/file_format.go#L26
[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/internal/resources/file_format.go","range":{"start":{"line":26,"column":5}}},"severity":"ERROR"}
staticcheck: internal/resources/file_format.go#L1096
[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/internal/resources/file_format.go","range":{"start":{"line":1096,"column":6}}},"severity":"ERROR"}
staticcheck: internal/resources/file_format.go#L1107
[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/internal/resources/file_format.go","range":{"start":{"line":1107,"column":6}}},"severity":"ERROR"}
staticcheck: internal/resources/grant_privileges_to_role_acceptance_test.go#L100
[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/internal/resources/grant_privileges_to_role_acceptance_test.go","range":{"start":{"line":100,"column":6}}},"severity":"ERROR"}
staticcheck: internal/resources/helper_expansion.go#L31
[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/internal/resources/helper_expansion.go","range":{"start":{"line":31,"column":6}}},"severity":"ERROR"}
staticcheck: internal/resources/helpers_test.go#L54
[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/internal/resources/helpers_test.go","range":{"start":{"line":54,"column":6}}},"severity":"ERROR"}
staticcheck: internal/resources/helpers_test.go#L153
[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/internal/resources/helpers_test.go","range":{"start":{"line":153,"column":6}}},"severity":"ERROR"}
staticcheck: internal/resources/helpers_test.go#L162
[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/internal/resources/helpers_test.go","range":{"start":{"line":162,"column":6}}},"severity":"ERROR"}
staticcheck: internal/resources/helpers_test.go#L171
[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/internal/resources/helpers_test.go","range":{"start":{"line":171,"column":6}}},"severity":"ERROR"}
staticcheck: internal/resources/helpers_test.go#L189
[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/internal/resources/helpers_test.go","range":{"start":{"line":189,"column":6}}},"severity":"ERROR"}