diff --git a/.github/workflows/codacy.yml b/.github/workflows/codacy.yml index f0129ab4..64ce99fd 100644 --- a/.github/workflows/codacy.yml +++ b/.github/workflows/codacy.yml @@ -33,6 +33,10 @@ jobs: name: Codacy Security Scan runs-on: ubuntu-latest steps: + - name: Set up Maven + uses: stCarolas/setup-maven@07fbbe97d97ef44336b7382563d66743297e442f # v4.5 + with: + maven-version: 3.9.3 # Checkout the repository to the GitHub Actions runner - name: Checkout code uses: actions/checkout@v4 diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index a803fc3e..f61b717a 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -37,6 +37,10 @@ jobs: # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support steps: + - name: Set up Maven + uses: stCarolas/setup-maven@07fbbe97d97ef44336b7382563d66743297e442f # v4.5 + with: + maven-version: 3.9.3 - name: Checkout repository uses: actions/checkout@v4