Bump to 2.7.0 #157
This file contains hidden or 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-test | |
| on: [push] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up JDK 11 | |
| uses: actions/setup-java@v3 | |
| with: | |
| distribution: 'temurin' | |
| java-version: 11 | |
| - name: Cache Gradle packages | |
| uses: actions/cache@v3 | |
| with: | |
| path: ~/.gradle/caches | |
| key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle.kts') }} | |
| restore-keys: ${{ runner.os }}-gradle | |
| - name: Run unit tests | |
| run: ./gradlew test | |
| - name: Check linting with ktlint | |
| run: ./gradlew ktlintCheck | |
| - name: Check that Gradle plugins passes validation | |
| run: ./gradlew validatePlugins |