Skip to content

Update plugin org.jetbrains.kotlinx.kover to v0.9.1 #1504

Update plugin org.jetbrains.kotlinx.kover to v0.9.1

Update plugin org.jetbrains.kotlinx.kover to v0.9.1 #1504

Workflow file for this run

name: Curiosity 🤓
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
cancel-previous:
name: Cancel Previous
permissions:
contents: read
actions: write
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Build
uses: styfle/[email protected]
with:
access_token: ${{ secrets.GITHUB_TOKEN }}
lint:
name: Lint
permissions:
contents: read
runs-on: ubuntu-latest
needs: cancel-previous
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
ref: ${{ github.event.pull_request.head.ref }}
persist-credentials: false
fetch-depth: 0
- name: Set up JDK
uses: actions/[email protected]
with:
distribution: 'temurin'
java-version: '17'
cache: 'gradle'
- name: Linting
run: make clean lint
test:
name: "Test & Report"
runs-on: ubuntu-latest
needs: cancel-previous
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
fetch-depth: 0
- name: Set up JDK
uses: actions/[email protected]
with:
distribution: 'temurin'
java-version: '17'
cache: 'gradle'
- name: Test
run: make report
- name: Report
uses: codecov/[email protected]
with:
files: ./build/reports/kover/result.xml
assemble:
name: "Assemble"
permissions:
contents: read
runs-on: ubuntu-latest
needs: cancel-previous
env:
KEYSTORE_ENC_PW: ${{ secrets.KEYSTORE_ENC_PW }}
KEYSTORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}
KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Set up JDK
uses: actions/[email protected]
with:
distribution: 'temurin'
java-version: '17'
cache: 'gradle'
- name: "Create Keystore"
run: |
./scripts/decrypt.sh keystore/curiosity.keystore.aes-256-cbc-enc.b64 keystore/curiosity.keystore ${KEYSTORE_ENC_PW}
- name: "APK && AAR"
run: make clean assemble
bundle:
name: Bundle
permissions:
contents: read
runs-on: ubuntu-latest
needs: cancel-previous
env:
KEYSTORE_ENC_PW: ${{ secrets.KEYSTORE_ENC_PW }}
KEYSTORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}
KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Set up JDK
uses: actions/[email protected]
with:
distribution: 'temurin'
java-version: '17'
cache: 'gradle'
- name: "Create Keystore"
run: |
./scripts/decrypt.sh keystore/curiosity.keystore.aes-256-cbc-enc.b64 keystore/curiosity.keystore ${KEYSTORE_ENC_PW}
- name: Bundle
run: make clean bundle