We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4224c42 + 392d042 commit 09cfdf0Copy full SHA for 09cfdf0
1 file changed
.github/workflows/go.yml
@@ -42,4 +42,11 @@ jobs:
42
echo "Run 'go fix ./...' locally and commit the changes."
43
exit 1
44
fi
45
+
46
+ gofmt -w -r 'interface{} -> any' .
47
+ if ! git diff --exit-code -- .; then
48
+ echo "::error::gofmt found modernization opportunities"
49
+ echo "Run 'gofmt -w -r 'interface{} -> any' .' locally and commit the changes."
50
+ exit 1
51
+ fi
52
echo "✓ No go fix suggestions - code is up to date."
0 commit comments