Skip to content

Merge branch 'GTNewHorizons:master' into master-fork #7

Merge branch 'GTNewHorizons:master' into master-fork

Merge branch 'GTNewHorizons:master' into master-fork #7

name: Build and test
on:
pull_request:
branches: [ master, master-fork, main ]
push:
branches: [ master, master-fork, main ]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up JDK 8 and 17
uses: actions/setup-java@v3
with:
java-version: |
8
17
distribution: 'zulu'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build the Gradle plugin
run: ./gradlew --info --stacktrace assemble
- name: Test the plugin
run: ./gradlew --info --stacktrace check