From e5e5538e8473dddf52f1c97c8b3c5daa985a2a65 Mon Sep 17 00:00:00 2001 From: jultty Date: Sat, 6 Jan 2024 02:28:57 -0300 Subject: [PATCH] Add CI static analysis --- .github/workflows/analysis.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/analysis.yml diff --git a/.github/workflows/analysis.yml b/.github/workflows/analysis.yml new file mode 100644 index 0000000..419c7a3 --- /dev/null +++ b/.github/workflows/analysis.yml @@ -0,0 +1,20 @@ +name: Code Analysis + +on: push + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Set up JDK 21 + uses: actions/setup-java@v3 + with: + java-version: '21' + distribution: 'temurin' + cache: maven + - name: 'Modernizer' + run: mvn modernizer:modernizer +