Skip to content

Add database support #116

Add database support

Add database support #116

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