File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030 push :
3131 branches : [ master ]
3232
33+
3334jobs :
35+
3436 build :
3537
3638 runs-on : ubuntu-20.04
3739
3840 steps :
41+
3942 - uses : actions/checkout@v2
4043 with :
4144 # Disabling shallow clone for improving relevancy of SonarQube reporting
4245 fetch-depth : 0
46+
4347 - name : Set up JDK 11
4448 uses : actions/setup-java@v1
4549 with :
4650 java-version : 11
51+
52+ - name : Cache SonarCloud packages
53+ uses : actions/cache@v2
54+ with :
55+ path : ~/.sonar/cache
56+ key : ${{ runner.os }}-sonar
57+ restore-keys : ${{ runner.os }}-sonar
58+
4759 - uses : actions/cache@v2
4860 with :
4961 path : ~/.m2/repository
5062 key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
5163 restore-keys : |
5264 ${{ runner.os }}-maven-
65+
5366 # Some tests need screen access
5467 - name : Install xvfb
5568 run : sudo apt-get install -y xvfb
69+
5670 # The SonarQube analysis is only for the master branch of the main repository.
5771 # SonarQube scan does not work for forked repositories try changing it to xvfb-run mvn clean verify
5872 # See https://jira.sonarsource.com/browse/MMF-1371
You can’t perform that action at this time.
0 commit comments