diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index 06c3ecbaa..292da81f2 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -16,6 +16,11 @@ jobs: - name: set-up-environment uses: DFE-Digital/github-actions/set-up-environment@master + - uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: 21 + - uses: Azure/login@v1 with: creds: ${{ secrets.AZURE_CREDENTIALS }}