[chore] Renovate: Update koin 4.0.0 to v4.0.1 #848
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: Gradle Build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Decode Keystore | |
id: decode_keystore | |
uses: timheuer/[email protected] | |
with: | |
fileName: 'release.jks' | |
encodedString: ${{ secrets.KEYSTORE }} | |
- uses: actions/checkout@v4 | |
- name: Set timezone | |
run: echo "TZ=Europe/London" >> $GITHUB_ENV | |
- name: set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'corretto' | |
java-version: '17' | |
cache: gradle | |
- name: Install Xvfb | |
run: sudo apt-get install -y xvfb | |
- name: Grant execute permission for gradlew | |
run: chmod +x ./gradlew | |
- name: Gradle build | |
run: xvfb-run ./gradlew :composeApp:buildReleasePreBundle koverXmlReportRelease --no-daemon | |
env: | |
CI: 'true' | |
KEYSTORE_LOCATION: ${{ steps.decode_keystore.outputs.filePath }} | |
CI_ANDROID_KEYSTORE_ALIAS: ${{ secrets.BITRISEIO_ANDROID_KEYSTORE_ALIAS }} | |
CI_ANDROID_KEYSTORE_PRIVATE_KEY_PASSWORD: ${{ secrets.BITRISEIO_ANDROID_KEYSTORE_PRIVATE_KEY_PASSWORD }} | |
CI_ANDROID_KEYSTORE_PASSWORD: ${{ secrets.BITRISEIO_ANDROID_KEYSTORE_PASSWORD }} | |
- name: Upload test report | |
if: failure() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: test-report | |
path: composeApp/build/reports/tests/ | |
- name: Run codacy-coverage-reporter | |
uses: codacy/[email protected] | |
with: | |
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} | |
coverage-reports: composeApp/build/reports/kover/reportRelease.xml |