"tofu fmt -check" not returning error codes when running in a github workflow? #2493
-
I have a github workflow that runs
I made a test commit that is missing a quote, and the jobs runs successfully, despite reporting the error:
When I run
What's going on here? The version of opentofu running in the workflow matches what I'm running locally (1.9.0). |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hey @larsks are you using the setup-opentofu action by any chance? If so, please set the |
Beta Was this translation helpful? Give feedback.
-
Yeah, you can see that in the workflow I posted :).
...wow, that is really odd default behavior. Thanks! |
Beta Was this translation helpful? Give feedback.
Hey @larsks are you using the setup-opentofu action by any chance? If so, please set the
tofu_wrapper
option tofalse
.