Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fix malformed gosec yaml #306

Merged
merged 2 commits into from
Mar 22, 2022
Merged

fix: Fix malformed gosec yaml #306

merged 2 commits into from
Mar 22, 2022

Conversation

BinaryFissionGames
Copy link
Contributor

@BinaryFissionGames BinaryFissionGames commented Mar 22, 2022

Proposed Change

  • Use make target to run gosec instead of docker file

Both "uses" and "working-directory" cannot be simultaneously be specified, so the action was not valid and does not run.

Unfortunately, gosec doesn't provide a way to tell it which module you want to use, it just assumes the module root is the CWD (which cannot be changed for "uses" job steps). If we want to get it to work, we need to use the make target instead of the action.

Checklist
  • Changes are tested
  • CI has passed

@BinaryFissionGames BinaryFissionGames merged commit f7c9ebc into main Mar 22, 2022
@BinaryFissionGames BinaryFissionGames deleted the fix-go-sec branch March 22, 2022 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants