Bump kotlinVersion from 2.0.21 to 2.1.0 (#203) #256
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: Build and test | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
types: [opened, reopened, synchronize] | |
jobs: | |
build-and-test: | |
name: Build and test | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'microsoft' | |
java-version: '17' | |
cache: 'gradle' | |
- name: Make ./gradlew executable | |
run: chmod 777 ./gradlew | |
- name: Build | |
run: ./gradlew build -x lint | |
- name: Run tests | |
run: ./gradlew test |