Skip to content

Feature/entry sections (#126) #84

Feature/entry sections (#126)

Feature/entry sections (#126) #84

Workflow file for this run

name: Build & Test
on:
push:
branches:
- master
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: gradle build
- name: Run tests
run: gradle test