Skip to content

Update kotlin plugins to 2.1.0 (#33) #91

Update kotlin plugins to 2.1.0 (#33)

Update kotlin plugins to 2.1.0 (#33) #91

name: Build and test
on:
pull_request:
branches: [ master, main ]
push:
branches: [ master, main ]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Validate Gradle Wrapper
uses: gradle/actions/wrapper-validation@v3
- name: Set up JDK 8 and 17
uses: actions/setup-java@v3
with:
java-version: |
8
17
distribution: 'zulu'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build the Gradle plugin
run: ./gradlew --info --stacktrace assemble
- name: Test the plugin
run: ./gradlew --info --stacktrace check