Skip to content

Commit

Permalink
Merge pull request #236 from ihrasko/maintenance
Browse files Browse the repository at this point in the history
Simulator repo maintenance
  • Loading branch information
ihrasko authored Sep 13, 2024
2 parents 4569e74 + 8e7f3c8 commit 764a5bd
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,15 @@ jobs:
SONAR_PROJECT_KEY: ${{ secrets.SONAR_PROJECT_KEY}}
steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
java-version: 17
java-version: 21
distribution: 'temurin'
- name: Set up Maven
uses: stCarolas/setup-maven@v5
with:
maven-version: 3.9.8
- name: Cache SonarCloud packages
uses: actions/cache@v1
if: ${{ env.SONAR_TOKEN != 0 }}
Expand All @@ -44,13 +48,13 @@ jobs:
- name: Maven install + Test + SonarCloud
if: ${{ env.SONAR_TOKEN != 0 }}
run: mvn clean install org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
-Dsonar.java.source=17
-Dsonar.java.source=21
-Dsonar.projectKey=${{ env.SONAR_PROJECT_KEY }}
-Dsonar.organization=${{ env.SONAR_ORGANIZATION }}
-Dsonar.host.url=https://sonarcloud.io
-B -V -Psource-quality
- name: Upload surefire test results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: Surefire-Test-Results
path: ~/**/surefire-reports/**/*.txt
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ you can create your own device. This device can be built with the use of builder
adding custom YANG models, custom request processors & more.

## Build & Run
* Build the project with Java 17:
* Build the project with Java 21:
```
mvn clean install
```
Expand Down
4 changes: 2 additions & 2 deletions examples/parents/examples-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,12 @@
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>5.10.2</version>
<version>5.10.3</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>5.10.2</version>
<version>5.10.3</version>
</dependency>
<dependency>
<groupId>org.xmlunit</groupId>
Expand Down
2 changes: 1 addition & 1 deletion examples/parents/examples-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0</version>
<version>3.5.0</version>
</plugin>
</plugins>
</pluginManagement>
Expand Down

0 comments on commit 764a5bd

Please sign in to comment.