Skip to content

Commit 4031e46

Browse files
authored
Merge pull request #41 from carstenartur/copilot/update-java-version-and-fix-workflows
2 parents 0efe63f + 126bf0f commit 4031e46

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/codacy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
3333
name: Codacy Security Scan
3434
runs-on: ubuntu-latest
35+
if: ${{ secrets.CODACY_PROJECT_TOKEN != '' }}
3536
steps:
3637
# Checkout the repository to the GitHub Actions runner
3738
- name: Checkout code

.github/workflows/codeql-analysis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ jobs:
4040
- name: Checkout repository
4141
uses: actions/checkout@v4
4242

43+
- name: Set up JDK 21
44+
uses: actions/setup-java@v5
45+
with:
46+
java-version: '21'
47+
distribution: 'temurin'
48+
4349
# Initializes the CodeQL tools for scanning.
4450
- name: Initialize CodeQL
4551
uses: github/codeql-action/init@v3

0 commit comments

Comments
 (0)