Skip to content

Commit dfc06b4

Browse files
committed
Update CodeQL config
1 parent 092ecbd commit dfc06b4

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ on:
2424
jobs:
2525
analyze:
2626
name: Analyze
27-
runs-on: macos-latest #[self-hosted, 1ES.Pool=1es-ubuntu-msgraph-beta-sdk-java-mem-latest]
28-
#timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
27+
runs-on: ubuntu-latest
28+
timeout-minutes: 60
2929
permissions:
3030
actions: read
3131
contents: read
@@ -56,10 +56,6 @@ jobs:
5656
uses: github/codeql-action/init@v3
5757
with:
5858
languages: ${{ matrix.language }}
59-
threads: 4
60-
#init-heap: 1024M # Initial heap size
61-
#max-heap: 4096M # Maximum heap size
62-
ram: 4096
6359

6460
# If you wish to specify custom queries, you can do so here or in a config file.
6561
# By default, queries listed here will override any specified in a config file.
@@ -82,8 +78,8 @@ jobs:
8278

8379
- name: Grant execute permission for gradlew
8480
run: chmod +x gradlew
85-
- name: Build #with Gradle
86-
run: gradle clean build "-Dorg.gradle.jvmargs=-Xmx4g -Xms1g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8"
81+
- name: Build with Gradle
82+
run: ./gradlew build
8783

8884
- name: Perform CodeQL Analysis
8985
uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)