This action checks for discrepancies with go fmt formatting standards.
go fmt
exit-code
1 if formatting errors are found, 0 otherwise
uses: actions/go-fmt@v1 with: dir: './lib/...'