Skip to content

chore(deps): update plugin org.jetbrains.kotlin.jvm to v2 #549

chore(deps): update plugin org.jetbrains.kotlin.jvm to v2

chore(deps): update plugin org.jetbrains.kotlin.jvm to v2 #549

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [ 8, 11, 16 ]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cache
uses: actions/cache@v3
with:
path: |
~/.gradle/wrapper
~/.gradle/caches
key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle.*') }}
restore-keys: |
gradle-${{ runner.os }}
gradle-
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java-version }}
distribution: adopt
- name: Prepare
run: ./gradlew clean dependencies
- name: Build
run: ./gradlew assemble testClasses
- name: Test
run: ./gradlew test
- name: Publish Test Report
uses: scacap/action-surefire-report@v1
if: failure()
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
report_paths: '**/build/test-results/test/TEST-*.xml'
check_name: Test Failures (${{ matrix.java-version }})
release:
name: Release Check
runs-on: ubuntu-latest
needs: build
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Release Check
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}
run: npx semantic-release