Skip to content

Commit

Permalink
chore: more sonar and cache fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Gammon <sam@elide.ventures>
  • Loading branch information
sgammon committed Feb 14, 2024
1 parent 58eb3e1 commit be22c4e
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/checks.codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,9 @@ jobs:
id: cache-restore
uses: actions/cache/restore@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
with:
key: elide-framework-${{ hashFiles('**/build.gradle.kts', '**/settings.gradle.kts', '**/*.versions.toml') }}
path: "**/*.*"
restore-keys: |
elide-framework-${{ hashFiles('**/build.gradle.kts', '**/settings.gradle.kts', '**/*.versions.toml') }}
elide-framework-
- name: "Setup: GraalVM (Java 21)"
uses: graalvm/setup-graalvm@2a93b69fdf86ac5a078a98c1a707744632e1da94 # v1.1.5
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/checks.qodana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@ jobs:
id: cache-restore
uses: actions/cache/restore@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
with:
key: elide-framework-${{ hashFiles('**/build.gradle.kts', '**/settings.gradle.kts', '**/*.versions.toml') }}
path: "**/*.*"
restore-keys: |
elide-framework-${{ hashFiles('**/build.gradle.kts', '**/settings.gradle.kts', '**/*.versions.toml') }}
elide-framework-
- name: "Setup: GraalVM (Java 21)"
uses: graalvm/setup-graalvm@2a93b69fdf86ac5a078a98c1a707744632e1da94 # v1.1.5
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/checks.sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ jobs:
uses: actions/cache/restore@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
with:
key: elide-framework-${{ hashFiles('**/build.gradle.kts', '**/settings.gradle.kts', '**/*.versions.toml') }}
path: "**/*.*"
restore-keys: |
elide-framework-
- name: "Setup: Artifacts"
Expand All @@ -74,6 +75,7 @@ jobs:
env:
CI: true
BUILDLESS_APIKEY: ${{ secrets.BUILDLESS_APIKEY }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
with:
cache-read-only: true
cache-encryption-key: ${{ secrets.GRADLE_CONFIGURATION_KEY }}
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/job.build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ jobs:
uses: actions/cache/restore@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
with:
key: elide-framework-${{ hashFiles('**/build.gradle.kts', '**/settings.gradle.kts', '**/*.versions.toml') }}
path: "**/*.*"
restore-keys: |
elide-framework-
- name: "Setup: GraalVM (Java 21)"
Expand Down Expand Up @@ -363,6 +364,7 @@ jobs:
uses: actions/cache/restore@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
with:
key: elide-framework-tests-${{ hashFiles('**/build.gradle.kts', '**/settings.gradle.kts', '**/*.versions.toml') }}
path: "**/*.*"
restore-keys: |
elide-framework-tests-
elide-framework-
Expand Down Expand Up @@ -534,6 +536,7 @@ jobs:
uses: actions/cache/restore@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
with:
key: elide-framework-${{ hashFiles('**/build.gradle.kts', '**/settings.gradle.kts', '**/*.versions.toml') }}
path: "**/*.*"
restore-keys: |
elide-framework-
- name: "Setup: GraalVM (Java 21)"
Expand Down Expand Up @@ -656,6 +659,7 @@ jobs:
uses: actions/cache/restore@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
with:
key: elide-framework-${{ hashFiles('**/build.gradle.kts', '**/settings.gradle.kts', '**/*.versions.toml') }}
path: "**/*.*"
restore-keys: |
elide-framework-
- id: "auth"
Expand Down Expand Up @@ -806,6 +810,7 @@ jobs:
uses: actions/cache/restore@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
with:
key: elide-framework-${{ hashFiles('**/build.gradle.kts', '**/settings.gradle.kts', '**/*.versions.toml') }}
path: "**/*.*"
restore-keys: |
elide-framework-
- name: "Setup: Buildless"
Expand Down Expand Up @@ -926,6 +931,7 @@ jobs:
uses: actions/cache/restore@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
with:
key: elide-framework-${{ hashFiles('**/build.gradle.kts', '**/settings.gradle.kts', '**/*.versions.toml') }}
path: "**/*.*"
restore-keys: |
elide-framework-
- name: "Setup: Buildless"
Expand Down Expand Up @@ -1046,6 +1052,7 @@ jobs:
uses: actions/cache/restore@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
with:
key: elide-framework-${{ hashFiles('**/build.gradle.kts', '**/settings.gradle.kts', '**/*.versions.toml') }}
path: "**/*.*"
restore-keys: |
elide-framework-
- name: "Setup: Buildless"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/on.pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ jobs:
uses: actions/cache/restore@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
with:
key: elide-framework-${{ hashFiles('**/build.gradle.kts', '**/settings.gradle.kts', '**/*.versions.toml') }}
path: "**/*.*"
restore-keys: |
elide-framework-
- name: "Check: Library ABI"
Expand Down

0 comments on commit be22c4e

Please sign in to comment.