From ec5cca71b9d18414d5c9da87fe326e0323e4c7cb Mon Sep 17 00:00:00 2001 From: Anthony Stirling <77850077+Frooodle@users.noreply.github.com> Date: Sat, 28 Jan 2023 10:26:41 +0000 Subject: [PATCH] Update codeql.yml --- .github/workflows/codeql.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 2506b861..5a4491f9 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -41,6 +41,12 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v3 + + - name: Set up JDK 17 + uses: actions/setup-java@v3 + with: + java-version: '17' + distribution: 'adopt' # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL @@ -57,8 +63,12 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java). # If this step fails, then you should remove it and run the build manually (see below) - - name: Autobuild - uses: github/codeql-action/autobuild@v2 + - name: Gradle Build Action + # You may pin to the exact commit or the version. + # uses: gradle/gradle-build-action@3fbe033aaae657f011f88f29be9e65ed26bd29ef + uses: gradle/gradle-build-action@v2.3.3 + with: + gradle-version: 7.6 # ℹī¸ Command-line programs to run using the OS shell. # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun