vmware / go-vcloud-director

Golang SDK for VMware Cloud Director
Other
80 stars 76 forks source link

Add GitHub Action to run gosec and amend already present issues #516

Closed adambarreiro closed 2 years ago

adambarreiro commented 2 years ago

Description

This PR is not related to any opened issue as far as I know. It adds the gosec tool as a GitHub Action that runs on every push and pull_request event.

As we had already some issues detected in the code, adding this action would break all subsequent PR builds, hence no one could merge until solved. For that reason, this PR also solves/amends the found issues.

Thanks @dataclouder for the gosec idea!