diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..9e349cb --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,25 @@ +name: CI + +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + with: + fetch-depth: 0 # Fetch all history for all branches + + - name: Set up JDK 11 + uses: actions/setup-java@v2 + with: + distribution: 'adopt' + java-version: '8' + + - name: Run Spotless Check + run: mvn spotless:check + + - name: Compile Project + run: mvn compile diff --git a/pom.xml b/pom.xml index 48a68f7..2049241 100644 --- a/pom.xml +++ b/pom.xml @@ -59,7 +59,7 @@ 3.13.0 3.6.3 3.3.0 - 2.43.0 + 2.10.0 1.17.0 3.2.1