Skip to content

Commit

Permalink
Merge pull request #4 from wallanpsantos/sonar-action
Browse files Browse the repository at this point in the history
Sonar Action
  • Loading branch information
wallanpsantos authored Nov 24, 2023
2 parents 24698dd + 7faeab8 commit 0983b68
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.1
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
name: Build and analyze
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.1
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Set up JDK 21
Expand Down
14 changes: 14 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
<spring-cloud.version>2023.0.0-RC1</spring-cloud.version>
<sonar.organization>wallanpsantos-github</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
<commons-lang3>3.14.0</commons-lang3>
</properties>
<dependencies>
<!-- <dependency>-->
Expand Down Expand Up @@ -52,6 +53,19 @@
<artifactId>lombok</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>${commons-lang3}</version>
</dependency>
<dependency>
<groupId>org.sonarsource.scanner.maven</groupId>
<artifactId>sonar-maven-plugin</artifactId>
<version>3.10.0.2594</version>
</dependency>



<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
Expand Down

0 comments on commit 0983b68

Please sign in to comment.