Skip to content

Commit d7b375f

Browse files
🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <[email protected]>
1 parent 384c7a8 commit d7b375f

File tree

3 files changed

+17
-11
lines changed

3 files changed

+17
-11
lines changed

.github/workflows/analysis.yml

+11-7
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
# synced from @nextcloud/android-config
22

33
# SPDX-FileCopyrightText: 2023-2024 Nextcloud GmbH and Nextcloud contributors
4+
# SPDX-FileCopyrightText: 2025 Alper Ozturk <[email protected]>
45
# SPDX-FileCopyrightText: 2023 Tobias Kaminsky <[email protected]>
56
# SPDX-FileCopyrightText: 2023 Andy Scherzinger <[email protected]>
67
# SPDX-FileCopyrightText: 2023 Josh Richards <[email protected]>
8+
# SPDX-FileCopyrightText: 2025 Marcel Hibbe <[email protected]>
79
# SPDX-License-Identifier: GPL-3.0-or-later
810

911
name: "Analysis"
@@ -24,7 +26,7 @@ concurrency:
2426

2527
jobs:
2628
analysis:
27-
runs-on: ubuntu-24.04
29+
runs-on: ubuntu-latest
2830
steps:
2931
- name: Setup variables
3032
id: get-vars
@@ -61,9 +63,11 @@ jobs:
6163
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6264
run: |
6365
mkdir -p "$HOME/.gradle"
64-
echo "org.gradle.jvmargs=-Xmx6g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:+UseParallelGC -XX:MaxMetaspaceSize=1g" > "$HOME/.gradle/gradle.properties"
65-
echo "org.gradle.caching=true" >> $HOME/.gradle/gradle.properties
66-
echo "org.gradle.parallel=true" >> $HOME/.gradle/gradle.properties
67-
echo "org.gradle.configureondemand=true" >> $HOME/.gradle/gradle.properties
68-
echo "kapt.incremental.apt=true" >> $HOME/.gradle/gradle.properties
69-
scripts/analysis/analysis-wrapper.sh ${{ steps.get-vars.outputs.branch }} ${{ secrets.LOG_USERNAME }} ${{ secrets.LOG_PASSWORD }} "$GITHUB_RUN_NUMBER" ${{ steps.get-vars.outputs.pr }}
66+
{
67+
echo "org.gradle.jvmargs=-Xmx6g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:+UseParallelGC -XX:MaxMetaspaceSize=1g"
68+
echo "org.gradle.caching=true"
69+
echo "org.gradle.parallel=true"
70+
echo "org.gradle.configureondemand=true"
71+
echo "kapt.incremental.apt=true"
72+
} > "$HOME/.gradle/gradle.properties"
73+
scripts/analysis/analysis-wrapper.sh "${{ steps.get-vars.outputs.branch }}" "${{ secrets.LOG_USERNAME }}" "${{ secrets.LOG_PASSWORD }}" "$GITHUB_RUN_NUMBER" "${{ steps.get-vars.outputs.pr }}"

.github/workflows/codeql.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
# SPDX-FileCopyrightText: 2023-2024 Andy Scherzinger <[email protected]>
55
# SPDX-FileCopyrightText: 2022 Tobias Kaminsky <[email protected]>
66
# SPDX-FileCopyrightText: 2022 Álvaro Brey <[email protected]>
7+
# SPDX-FileCopyrightText: 2025 Marcel Hibbe <[email protected]>
78
# SPDX-License-Identifier: GPL-3.0-or-later
89

910
name: "CodeQL"
@@ -22,7 +23,7 @@ permissions:
2223
jobs:
2324
analyze:
2425
name: Analyze
25-
runs-on: ubuntu-24.04
26+
runs-on: ubuntu-latest
2627
permissions:
2728
actions: read
2829
contents: read
@@ -35,11 +36,12 @@ jobs:
3536
- name: Checkout repository
3637
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3738
- name: Set Swap Space
39+
if: runner.environment == 'github-hosted'
3840
uses: pierotofy/set-swap-space@49819abfb41bd9b44fb781159c033dba90353a7c # v1.0
3941
with:
4042
swap-size-gb: 10
4143
- name: Initialize CodeQL
42-
uses: github/codeql-action/init@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # v3.28.10
44+
uses: github/codeql-action/init@6bb031afdd8eb862ea3fc1848194185e076637e5 # v3.28.11
4345
with:
4446
languages: ${{ matrix.language }}
4547
- name: Set up JDK 17
@@ -53,4 +55,4 @@ jobs:
5355
echo "org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > "$HOME/.gradle/gradle.properties"
5456
./gradlew assembleDebug
5557
- name: Perform CodeQL Analysis
56-
uses: github/codeql-action/analyze@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # v3.28.10
58+
uses: github/codeql-action/analyze@6bb031afdd8eb862ea3fc1848194185e076637e5 # v3.28.11

.github/workflows/scorecard.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ jobs:
4242

4343
# Upload the results to GitHub's code scanning dashboard.
4444
- name: "Upload to code-scanning"
45-
uses: github/codeql-action/upload-sarif@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # v3.28.10
45+
uses: github/codeql-action/upload-sarif@6bb031afdd8eb862ea3fc1848194185e076637e5 # v3.28.11
4646
with:
4747
sarif_file: results.sarif

0 commit comments

Comments
 (0)