Skip to content

Commit 241f93f

Browse files
committed
updated cache to v2 and removed SQ analysis
1 parent 79a6af7 commit 241f93f

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

.github/workflows/maven-ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
uses: actions/setup-java@v1
4242
with:
4343
java-version: 11
44-
- uses: actions/cache@v1
44+
- uses: actions/cache@v2
4545
with:
4646
path: ~/.m2/repository
4747
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}

.github/workflows/maven-pr-builder.yml

+1-8
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
uses: actions/setup-java@v1
4242
with:
4343
java-version: 11
44-
- uses: actions/cache@v1
44+
- uses: actions/cache@v2
4545
with:
4646
path: ~/.m2/repository
4747
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
@@ -55,10 +55,3 @@ jobs:
5555
- name: Build with Maven
5656
if: github.ref != 'refs/heads/master'
5757
run: xvfb-run mvn clean verify
58-
- name: Build with Maven and run SonarQube analysis
59-
if: github.ref == 'refs/heads/master'
60-
run: xvfb-run mvn clean verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
61-
env:
62-
# These two env variables are needed for sonar analysis
63-
GITHUB_TOKEN: ${{ secrets.REPOSITORY_ACCESS_TOKEN }}
64-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

0 commit comments

Comments
 (0)