Skip to content

Enable dependabot for the Gradle plugin publish plugin, and JUnit #66

Enable dependabot for the Gradle plugin publish plugin, and JUnit

Enable dependabot for the Gradle plugin publish plugin, and JUnit #66

Workflow file for this run

name: Check
on: [ pull_request, push ]
jobs:
check:
runs-on: ${{ matrix.os }}
# push: always run.
# pull_request: run only when the PR is submitted from a forked repository, not within this repository.
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macOS-13 # OpenJDK 8 is not supported on macos-14+ (M1).
- windows-latest
gradle:
- "8.7"
steps:
- name: Set Git's core.autocrlf to false for Windows before checkout
run: git config --global core.autocrlf false
- uses: actions/checkout@v4
- name: Bump Gradle version
run: ./gradlew wrapper --gradle-version=${{ matrix.gradle }}
- name: Re-bump Gradle version
run: ./gradlew wrapper --gradle-version=${{ matrix.gradle }}
- name: Set up OpenJDK 8
uses: actions/setup-java@v4
with:
java-version: 8
distribution: "temurin"
cache: "gradle"
- name: Check
run: ./gradlew --stacktrace check
- uses: actions/upload-artifact@v4
if: always()
with:
name: ${{ matrix.os }}
path: build/reports