Skip to content

fix: cleanup workflows and makefile #18

fix: cleanup workflows and makefile

fix: cleanup workflows and makefile #18

Triggered via pull request November 17, 2023 08:22
Status Success
Total duration 1m 44s
Artifacts

reviewdog-staticcheck.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
reviewdog: framework/provider/provider_helpers.go#L23
[staticcheck] reported by reviewdog 🐶 func mergeSchemas is unused Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"func mergeSchemas is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/terraform-provider-snowflake/terraform-provider-snowflake/framework/provider/provider_helpers.go","range":{"start":{"line":23,"column":6}}},"severity":"ERROR"}
reviewdog: main.go#L16
[staticcheck] reported by reviewdog 🐶 var version is unused Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"var version is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/terraform-provider-snowflake/terraform-provider-snowflake/main.go","range":{"start":{"line":16,"column":5}}},"severity":"ERROR"}
reviewdog: pkg/provider/provider_helpers.go#L69
[staticcheck] reported by reviewdog 🐶 func getInt64Env is unused Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"func getInt64Env is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/terraform-provider-snowflake/terraform-provider-snowflake/pkg/provider/provider_helpers.go","range":{"start":{"line":69,"column":6}}},"severity":"ERROR"}
reviewdog: pkg/provider/provider_helpers.go#L81
[staticcheck] reported by reviewdog 🐶 func getBoolEnv is unused Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"func getBoolEnv is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/terraform-provider-snowflake/terraform-provider-snowflake/pkg/provider/provider_helpers.go","range":{"start":{"line":81,"column":6}}},"severity":"ERROR"}
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#L1149
[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":1149,"column":6}}},"severity":"ERROR"}
reviewdog: pkg/resources/file_format.go#L1160
[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":1160,"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"}