Bump org.jetbrains.kotlin.jvm from 2.0.21 to 2.1.0 #474
Workflow file for this run
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: CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
tags: | |
- '*' | |
jobs: | |
detekt: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- uses: gradle/actions/setup-gradle@v4 | |
- name: Run Detekt | |
run: ./gradlew clean detekt | |
spotless: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- uses: gradle/actions/setup-gradle@v4 | |
- name: Run Spotless Check | |
run: ./gradlew clean spotlessCheck | |
run-tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
gradle-version: ["8.4", "8.5", "8.6", "8.7", "8.8", "8.9", "8.10", "release-nightly", "release-candidate"] | |
gradle-command: ["gradle"] | |
include: | |
- gradle-version: "wrapper" | |
gradle-command: "./gradlew" | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
name: Checkout | |
- uses: actions/setup-java@v4 | |
name: Setup Java | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- uses: gradle/actions/setup-gradle@v4 | |
with: | |
gradle-version: ${{ matrix.gradle-version }} | |
cache-read-only: ${{ github.ref != 'refs/heads/main' || matrix.gradle-version != 'wrapper' }} | |
- name: Run Tests | |
run: ${{ matrix.gradle-command }} clean test | |
- name: Upload Test Report | |
uses: actions/upload-artifact@v4 | |
if: ${{ always() && matrix.gradle-version == 'wrapper' }} # always run even if the previous step fails | |
with: | |
name: junit-test-results | |
path: '**/build/test-results/test/TEST-*.xml' | |
retention-days: 1 | |
- name: Upload Coverage Report | |
uses: codecov/codecov-action@v5 | |
if: ${{ always() && matrix.gradle-version == 'wrapper' }} | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |