Skip to content

Add SkriptLogger in constructor of registration and a finish consumer API #88

Add SkriptLogger in constructor of registration and a finish consumer API

Add SkriptLogger in constructor of registration and a finish consumer API #88

Workflow file for this run

name: Build & Test
on:
push:
branches:
- master
pull_request:
jobs:
testing:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [11, 13]
steps:
- uses: actions/checkout@v2
- name: validate gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java-version }}
- name: Cache Gradle packages
uses: actions/cache@v2
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle
- name: Build skript-parser
run: ./gradlew build
- name: Run tests
run: ./gradlew test