Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-2287

Create GitHub Action for verifying correct formatting

    XMLWordPrintable

Details

    Description

      Since the Debezium project automatically applies code formatting and import sorting, there's much less discussion around code stylistics, as that's handled uniformely. Still every now and then there are PR build failures as the formatter wasn't applied, typically when not running a build locally before.

      To make this kind of error better visible, let's add another PR validation step which runs the formatter verification, allowing to easily identify formatting errors from test failures. We could also automate the formatting excecution on CI, but there are reservations that this might be confusing because a merged PR might differ from its submitted state.

      Attachments

        Activity

          People

            gunnar.morling Gunnar Morling
            gunnar.morling Gunnar Morling
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: