diff --git a/.github/workflows/analysis.yml b/.github/workflows/analysis.yml index 6a607283..5406dd1f 100644 --- a/.github/workflows/analysis.yml +++ b/.github/workflows/analysis.yml @@ -60,7 +60,7 @@ jobs: uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad # v6.1.0 with: distribution: "temurin" - java-version: 21.0.13+9 + java-version: 25 - name: Install dependencies run: | sudo apt install python3-defusedxml diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index f7e2b603..8d6ca036 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -1,6 +1,7 @@ # synced from @nextcloud/android-config # SPDX-FileCopyrightText: 2022-2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-FileCopyrightText: 2026 Alper Ozturk # SPDX-FileCopyrightText: 2023-2024 Andy Scherzinger # SPDX-FileCopyrightText: 2022 Tobias Kaminsky # SPDX-FileCopyrightText: 2022 Álvaro Brey @@ -20,10 +21,15 @@ on: permissions: contents: read +concurrency: + group: codeql-${{ github.event.pull_request.number || github.run_id }} + cancel-in-progress: true + jobs: analyze: name: Analyze runs-on: ubuntu-latest-max + timeout-minutes: 90 permissions: actions: read contents: read @@ -50,7 +56,7 @@ jobs: uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad # v6.1.0 with: distribution: "temurin" - java-version: 21.0.13+9 + java-version: 25 - name: Assemble run: | mkdir -p "$HOME/.gradle"