Skip to content

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

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

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

Workflow file for this run

name: CI
on:
pull_request:
workflow_call:
permissions: {}
jobs:
build:
name: Build
runs-on: ubuntu-24.04
timeout-minutes: 5
# actions/attest-build-provenance requires these permissions
permissions:
id-token: write
attestations: write
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Output SHA
uses: hudsonm62/short-sha@b5ee0a4109da599fea68b00dcfe5812100ad8d42 # v1.1.0
id: short-sha
- name: Set plugin ver with SHA commit
run: |
sed -ri "s/^(versionSuffix=).*/\1sha-${SHA}/" gradle.properties || :
env:
SHA: ${{ steps.short-sha.outputs.sha }}
- name: Set up JDK
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
with:
java-version: 17
distribution: temurin
cache: gradle
- name: Build
run: ./gradlew jar
- name: Generate artifact attestations
uses: actions/attest-build-provenance@ef244123eb79f2f7a7e75d99086184180e6d0018 # v1.4.4
if: github.ref == 'refs/heads/main'
with:
subject-path: ./build/libs/*.jar
- name: Upload a jar
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: artifact
path: ./build/libs/
test:
name: Test
runs-on: ubuntu-24.04
timeout-minutes: 5
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up JDK
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
with:
java-version: 17
distribution: temurin
cache: gradle
- name: Test
run: ./gradlew test