Browse Source

Merge pull request #11556 from nextcloud/repo-sync/android-config/master

🔄 synced file(s) with nextcloud/android-config
Andy Scherzinger 2 years ago
parent
commit
0faa6c962f
2 changed files with 4 additions and 4 deletions
  1. 3 3
      .github/workflows/codeql.yml
  2. 1 1
      .github/workflows/scorecard.yml

+ 3 - 3
.github/workflows/codeql.yml

@@ -32,18 +32,18 @@ jobs:
         with:
         with:
           swap-size-gb: 10
           swap-size-gb: 10
       - name: Initialize CodeQL
       - name: Initialize CodeQL
-        uses: github/codeql-action/init@7df0ce34898d659f95c0c4a09eaa8d4e32ee64db # v2.2.12
+        uses: github/codeql-action/init@b2c19fb9a2a485599ccf4ed5d65527d94bc57226 # v2.3.0
         with:
         with:
           languages: ${{ matrix.language }}
           languages: ${{ matrix.language }}
       - name: Set up JDK
       - name: Set up JDK
         uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0
         uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0
         with:
         with:
           distribution: "temurin"
           distribution: "temurin"
-          java-version: 11
+          java-version: 17
       - name: Assemble
       - name: Assemble
         run: |
         run: |
           mkdir -p "$HOME/.gradle"
           mkdir -p "$HOME/.gradle"
           echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > "$HOME/.gradle/gradle.properties"
           echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > "$HOME/.gradle/gradle.properties"
           ./gradlew assembleDebug
           ./gradlew assembleDebug
       - name: Perform CodeQL Analysis
       - name: Perform CodeQL Analysis
-        uses: github/codeql-action/analyze@7df0ce34898d659f95c0c4a09eaa8d4e32ee64db # v2.2.12
+        uses: github/codeql-action/analyze@b2c19fb9a2a485599ccf4ed5d65527d94bc57226 # v2.3.0

+ 1 - 1
.github/workflows/scorecard.yml

@@ -33,6 +33,6 @@ jobs:
 
 
       # Upload the results to GitHub's code scanning dashboard.
       # Upload the results to GitHub's code scanning dashboard.
       - name: "Upload to code-scanning"
       - name: "Upload to code-scanning"
-        uses: github/codeql-action/upload-sarif@7df0ce34898d659f95c0c4a09eaa8d4e32ee64db # v2.2.12
+        uses: github/codeql-action/upload-sarif@b2c19fb9a2a485599ccf4ed5d65527d94bc57226 # v2.3.0
         with:
         with:
           sarif_file: results.sarif
           sarif_file: results.sarif