This repository has been archived by the owner on Sep 23, 2024. It is now read-only.
Disabled visibility editing #907
Workflow file for this run
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: pr | |
on: | |
pull_request | |
# Cancel in-progress/pending PR checks if a new commit is pushed to the branch. | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref_name }} | |
cancel-in-progress: true | |
jobs: | |
compile: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup | |
uses: ./.github/actions/setup-environment | |
- name: Verify KSP version | |
run: ci/verify-ksp-version.sh | |
- name: Decrypt secrets | |
env: | |
GPG_KEY: ${{ secrets.gpg_key }} | |
run: ./decrypt.sh | |
working-directory: ./secrets | |
- name: Compile a release build | |
env: | |
GRADLE_OPTS: -Dorg.gradle.daemon=false | |
run: ci/unsigned-release-build.sh | |
detekt: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup | |
uses: ./.github/actions/setup-environment | |
- name: Run Detekt | |
env: | |
GRADLE_OPTS: -Dorg.gradle.daemon=false | |
run: ci/detekt.sh | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup | |
uses: ./.github/actions/setup-environment | |
- name: Test | |
env: | |
GRADLE_OPTS: -Dorg.gradle.daemon=false | |
run: ./gradlew testDebugUnitTest |