Skip to content

Github CI for Gradle Resolver #9

Github CI for Gradle Resolver

Github CI for Gradle Resolver #9

Workflow file for this run

name: Test
# Controls when the workflow will run
on:
# Triggers the workflow on pull request events but only for the master branch
pull_request:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- name: Set up JDK 8
uses: actions/setup-java@v2
with:
java-version: '8'
distribution: 'adopt'
- name: Validate
run: ./gradlew spotlessCheck
- name: Test
run: ./gradlew test