fix: crash while updating #282 #105
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test that everything can build properly and is tested | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
jobs: | |
Build-Java-8: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'adopt' | |
java-version: '8' | |
- run: gradle :shadowJar -b java8-build.gradle | |
Build-Java-17: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'adopt' | |
java-version: '17' | |
- run: gradle :shadowJar -b java17-build.gradle | |
Build-Java-21: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'adopt' | |
java-version: '21' | |
- run: gradle :shadowJar | |
test-documentation: | |
name: Test Documentation | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: yarn | |
cache-dependency-path: docs/yarn.lock | |
- name: Install dependencies | |
working-directory: ./docs | |
run: yarn install --frozen-lockfile | |
- name: Test build website | |
working-directory: ./docs | |
run: yarn build |