Skip to content

Commit ae60d67

Browse files
committed
debug: update cache and checkout
1 parent 8a224f6 commit ae60d67

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
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
@@ -21,7 +21,7 @@ jobs:
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
@@ -37,6 +37,16 @@ jobs:
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:

0 commit comments

Comments
 (0)