diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index ed7f7009551..5210cd9ef2c 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -1,4 +1,6 @@ name: CI +permissions: + contents: write on: push: branches: @@ -32,13 +34,16 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - - name: Gradle Wrapper Validation - uses: gradle/actions/wrapper-validation@v3 - name: Setup Java uses: actions/setup-java@v4 with: distribution: ${{ matrix.java-distribution }} java-version: ${{ matrix.java-version }} + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v4 + - name: Generate and submit dependency graph + if: ${{ github.event_name == 'push' }} + uses: gradle/actions/dependency-submission@v4 - name: Build and Test run: ./gradlew -S --no-daemon --no-parallel build jacocoAggregateReport coveralls - name: Lint JavaScript