feat: kotlin file utilities #90
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 Suite | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_ACTOR: ${{ github.actor }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '21' | |
distribution: 'adopt' | |
cache: 'gradle' | |
- name: Set up NPM | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '20' | |
- name: Create JAR | |
run: ./gradlew shadowJar --console=plain --warning-mode all | |
- name: Build | |
run: ./gradlew installDist --console=plain --warning-mode all | |
- name: Run tests | |
run: ./gradlew test --console=plain --warning-mode all |