Skip to content

Commit

Permalink
Update gradle/actions action to v4 (#454)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jason Plumb <jplumb@splunk.com>
  • Loading branch information
renovate[bot] and breedx-splk authored Aug 7, 2024
1 parent 5cecd30 commit cd7e819
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,12 @@ jobs:
distribution: temurin
java-version: 17

- name: Build
uses: gradle/actions/setup-gradle@v3
- name: Set up gradle
uses: gradle/actions/setup-gradle@v4
with:
arguments: clean check shadowJar
cache-read-only: ${{ github.event_name == 'pull_request' }}
- name: Build
run: ./gradlew clean check shadowJar
env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}

Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/codeql-daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,11 @@ jobs:
# see https://github.com/github/codeql-action/issues/1555#issuecomment-1452228433
tools: latest

- uses: gradle/actions/setup-gradle@v3
with:
# skipping build cache is needed so that all modules will be analyzed
arguments: assemble --no-build-cache
- name: Set up gradle
uses: gradle/actions/setup-gradle@v4
- name: Assemble
# skipping build cache is needed so that all modules will be analyzed
run: ./gradlew assemble --no-build-cache

- name: Perform CodeQL analysis
uses: github/codeql-action/analyze@v3
Expand Down

0 comments on commit cd7e819

Please sign in to comment.