reviewdog / action-hadolint

Run hadolint with reviewdog 🐶
MIT License
49 stars 16 forks source link

Failed to unmarshal rdjson (DiagnosticResult) #47

Closed jeffoverflow closed 3 years ago

jeffoverflow commented 3 years ago

I get an error when my workflow runs. I have reproduced the behavior.

https://github.com/reviewdog/action-hadolint/runs/2185212575

image

mgrachev commented 3 years ago

@haya14busa What do you think about this erro?

singhprd commented 3 years ago

I think this is probably caused by the upgrade from Hadolint v1.23.0 to v2.0.0 in this PR here: https://github.com/reviewdog/action-hadolint/pull/46

Looks like you'll need a quick rollback, then take another look at that version upgrade? 👍

For anyone else looking here, you can downgrade your reviewdog/hadolint action version like so to fix in the meantime. Eg:

uses: reviewdog/action-hadolint@v1.16.1
mgrachev commented 3 years ago

I have rolled back hadolint update in v1.17.1.

haya14busa commented 3 years ago

It was actually caused by https://github.com/hadolint/hadolint/issues/588 and now it seems to be fixed.

opeik commented 3 years ago

This is still broken for me while using the @v1 tag, should I be specifying a minor/patch version as well?

mgrachev commented 3 years ago

@opeik Could you create a test project to reproduce the error?