diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 81905a2..fe66f63 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -74,6 +74,8 @@ jobs: with: distribution: "zulu" java-version: "23" # Always use the latest JDK for building + - name: Install dependencies + run: make install - name: Run CheckStyle checks uses: nikitasavinov/checkstyle-action@0.5.1 with: diff --git a/.gitignore b/.gitignore index 7ed9752..dd1a073 100644 --- a/.gitignore +++ b/.gitignore @@ -34,3 +34,6 @@ cassettes/ # Coverage *.lcov + +# Imported linting config +easypost_java_style.xml diff --git a/Makefile b/Makefile index 5774782..66459fe 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ coverage: ## install-checkstyle - Install CheckStyle install-checkstyle: curl -LJs https://github.com/checkstyle/checkstyle/releases/download/checkstyle-10.3.1/checkstyle-10.3.1-all.jar -o checkstyle.jar - curl -LJs https://raw.githubusercontent.com/EasyPost/easypost-java/master/easypost_java_style.xml -o easypost_java_style.xml + curl -LJs https://raw.githubusercontent.com/EasyPost/examples/refs/heads/master/style_guides/java/easypost_java_style.xml -o easypost_java_style.xml ## install - Install requirements install: | install-checkstyle diff --git a/easypost_java_style.xml b/easypost_java_style.xml deleted file mode 100644 index 939b2d7..0000000 --- a/easypost_java_style.xml +++ /dev/null @@ -1,221 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -