Skip to content

Updating the Java 19 and Kotlin to 1.9.24 #164

Updating the Java 19 and Kotlin to 1.9.24

Updating the Java 19 and Kotlin to 1.9.24 #164

Workflow file for this run

name: Build
on:
push:
branches:
- main
concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true
jobs:
bundle-release:
runs-on: ubuntu-latest
permissions:
contents: write
timeout-minutes: 60
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 17
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Run local tests
if: always()
run: ./gradlew --no-configuration-cache bundleRelease
unit-test:
runs-on: ubuntu-latest
permissions:
contents: write
timeout-minutes: 60
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 17
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Run sub-projects coverage
run: ./gradlew debugCoverage
- name: Run coverage merge
run: ./gradlew allDebugCoverage
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
directory: ./build/reports/
files: ./build/reports/,./build/reports/allDebugCoverage.xml