Update dependency gradle to v8.9 #262
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pre Merge Checks | |
on: | |
# push: | |
# branches: | |
# - main | |
pull_request: | |
branches: | |
- '*' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
validation: | |
name: Gradle wrapper validation | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout latest code | |
uses: actions/checkout@v4 | |
- name: Validate Gradle Wrapper | |
uses: gradle/wrapper-validation-action@v3 | |
gradle: | |
name: Run checks and build graphs | |
runs-on: ubuntu-latest | |
if: ${{ !contains(github.event.head_commit.message, 'ci skip') }} | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v4 | |
- name: Set up Java | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: Cache Gradle Caches | |
uses: gradle/gradle-build-action@v3 | |
- name: Run Gradle tasks | |
run: ./gradlew preMerge --continue | |
- name: Generate graphs | |
run: ./gradlew :example:dependencyGraph | |
if: success() | |
- name: Verify the root graph file exists but system-test graph doesn't | |
run: test -f "./dependencyGraph.md" && test ! -f "./example/system-test/dependencyGraph.md" | |
if: success() |