Skip to content

build(deps): update lightning-kmp from v1.5.15 to v1.6.1 #441

build(deps): update lightning-kmp from v1.5.15 to v1.6.1

build(deps): update lightning-kmp from v1.5.15 to v1.6.1 #441

Workflow file for this run

name: Build
on:
pull_request:
push:
branches:
- master
- devel
jobs:
validation:
name: "Gradle Wrapper Validation"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v2
build:
needs: validation
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [ 17, 18, 21 ]
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Setup JDK
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: ${{ matrix.java-version }}
- name: Print Java Version
run: java --version
- name: Setup Gradle
uses: gradle/gradle-build-action@v3
with:
cache-read-only: ${{ github.ref != 'refs/heads/master' && github.ref != 'refs/heads/devel' }}
- name: Lint Gradle File
run: ./gradlew autoLintGradle
# `--no-parallel` to prevent https://github.com/xmolecules/jmolecules-integrations/issues/218 (last checked: 2024-01-06)
- name: Build project
run: ./gradlew --no-parallel build spotbugsMain -x test
- name: Unit Test
run: ./gradlew test
- name: Integration Test
run: ./gradlew integrationTest
- name: Publish Candidate
if: |
startsWith(github.ref, 'refs/tags/v') &&
contains(github.ref, '-rc.')
run: ./gradlew --info --stacktrace -Prelease.useLastTag=true candidate
- name: Upload Artifacts
uses: actions/upload-artifact@v4
if: |
startsWith(github.ref, 'refs/tags/v')
with:
name: Package
path: ./**/build/libs/*.jar