diff --git a/.github/workflows/ci-code-analysis.yml b/.github/workflows/ci-code-analysis.yml deleted file mode 100644 index 8036fc62a..000000000 --- a/.github/workflows/ci-code-analysis.yml +++ /dev/null @@ -1,55 +0,0 @@ -on: - workflow_call: - inputs: - checkout-repo: - required: false - type: string - checkout-ref: - required: false - type: string - -permissions: - contents: read - packages: read - -jobs: - spotless: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - repository: ${{ inputs.checkout-repo }} - ref: ${{ inputs.checkout-ref }} - - name: Run spotless - run: mvn -B -U spotless:check - - spotbugs: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - repository: ${{ inputs.checkout-repo }} - ref: ${{ inputs.checkout-ref }} - submodules: true - fetch-depth: 0 - - uses: skjolber/maven-cache-github-action@v1 - with: - step: restore - - uses: actions/setup-java@v4 - with: - java-version: '21' - distribution: 'temurin' - - name: Run spotbugs - run: mvn -B -U compile spotbugs:check - env: - GITHUB_TOKEN_REF: ${{ secrets.GITHUB_TOKEN }} - - shellcheck: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - repository: ${{ inputs.checkout-repo }} - ref: ${{ inputs.checkout-ref }} - - name: Run shellcheck - run: mvn -B -U shellcheck:check