File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 job-build :
1313 runs-on : ubuntu-latest
1414 steps :
15- - uses : actions/checkout@v2
15+ - uses : actions/checkout@v4
1616 with :
1717 # Disabling shallow clone is recommended for improving relevancy of reporting for sonar
1818 fetch-depth : 0
2121 uses : actions/cache@v4
2222 with :
2323 path : ~/.m2/repository
24- key : ${{ runner.os }}-maven -${{ hashFiles('**/pom.xml ') }}
24+ key : ${{ runner.os }}-lein -${{ hashFiles('**/project.clj ') }}
2525 restore-keys : |
2626 ${{ runner.os }}-maven-
2727 - name: Cache local Maven repository
3737 with :
3838 lein : 2.11.2
3939
40+ # Ubuntu Repos on Azure fail often. Attempt to install before other
41+ # long-running operations.
42+ # xmllinter for tests checks
43+ # jq for SonarQube Quality Gate check
44+ - name : Install xmllinter and jq (for "Fail on failed tests")
45+ shell : bash
46+ run : |
47+ sudo apt-get update
48+ sudo apt-get install -y libxml2-utils jq
49+
4050 - name : Setup Sonar Scanner
4151 uses : warchant/setup-sonar-scanner@v3
4252 with :
You can’t perform that action at this time.
0 commit comments