[maven-release-plugin] prepare for next development iteration #268
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Format | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
formatting: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Spotless | |
run: mvn spotless:apply | |
# Java 11 is required for google-java-format v1.8 | |
- name: Java 11 setup | |
uses: actions/setup-java@v1 | |
with: | |
java-version: '11' | |
- name: Google Java Format | |
uses: axel-op/[email protected] | |
with: | |
args: --replace --skip-javadoc-formatting --skip-sorting-imports --skip-reflowing-long-strings | |
version: 1.8 |