Skip to content

Commit

Permalink
fix SonarCloud
Browse files Browse the repository at this point in the history
- Java 11 is no longer supported as scanner runtime environment. The minimum required version of Java is now Java 17.
  • Loading branch information
guwirth committed Feb 16, 2024
1 parent 2171201 commit 29c8498
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/cxx-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
java: [ '17' ]
java: [ '11' ]
distribution: [ 'temurin' ]

if: github.event_name == 'push'
Expand Down Expand Up @@ -288,6 +288,19 @@ jobs:
- name: Build and test with Maven
run: mvn -B -e -V install --file pom.xml

# Java 11 is no longer supported as scanner runtime environment.
# The minimum required version of Java is now Java 17.
#
- name: Set up JDK Java 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: maven

- name: Dump environment variables
run: env

# Update SonarCloud results
# - Secrets are not passed to the runner when a workflow is triggered from a forked repository!
#
Expand Down

0 comments on commit 29c8498

Please sign in to comment.