fix(deps): update dependency androidx.compose.material3:material3 to v1.1.2 #1329
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: Android CI (PR) | |
on: | |
pull_request: | |
concurrency: | |
group: ${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
file-changes: | |
runs-on: ubuntu-latest | |
outputs: | |
any: ${{ steps.changed-files.outputs.any_changed }} | |
steps: | |
- uses: actions/checkout@v4.0.0 | |
with: | |
submodules: 'recursive' | |
fetch-depth: 0 | |
- name: Get changed files | |
id: changed-files | |
uses: tj-actions/changed-files@v39.1.1 | |
with: | |
files: | | |
.github/workflows/pr_ci.yml | |
gradle/libs.versions.toml | |
**/*.kt | |
**/*.kts | |
**/*.xml | |
- name: List all changed files | |
run: | | |
for file in ${{ steps.changed-files.outputs.all_changed_files }}; do | |
echo "$file was changed" | |
done | |
check-codestyle: | |
needs: [ file-changes ] | |
runs-on: ubuntu-latest | |
if: needs.file-changes.outputs.any == 'true' | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4.0.0 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/setup-java@v3.12.0 | |
with: | |
distribution: "zulu" | |
java-version: "17" | |
cache: "gradle" | |
- name: Check codestyle | |
uses: gradle/gradle-build-action@v2.8.0 | |
with: | |
arguments: spotlessCheck | |
gradle-home-cache-cleanup: true | |
lint-debug: | |
needs: [ file-changes ] | |
runs-on: ubuntu-latest | |
if: needs.file-changes.outputs.any == 'true' | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4.0.0 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/setup-java@v3.12.0 | |
with: | |
distribution: "zulu" | |
java-version: "17" | |
cache: "gradle" | |
- name: Run lint on debug variants | |
uses: gradle/gradle-build-action@v2.8.0 | |
with: | |
arguments: lintDebug | |
gradle-home-cache-cleanup: true | |
build-apks: | |
needs: [ check-codestyle, lint-debug ] | |
strategy: | |
matrix: | |
os: [ ubuntu-latest, macos-latest ] | |
runs-on: ${{ matrix.os }} | |
if: needs.file-changes.outputs.any == 'true' | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4.0.0 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK | |
uses: actions/setup-java@v3.12.0 | |
with: | |
distribution: "zulu" | |
java-version: "17" | |
cache: "gradle" | |
- name: Build debug APKs | |
uses: gradle/gradle-build-action@v2.8.0 | |
with: | |
arguments: assembleDebug | |
gradle-home-cache-cleanup: true | |
- name: Upload debug APKs | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Debug APKs | |
path: | | |
app/build/outputs/apk/free/debug/*.apk | |
app/build/outputs/apk/nonFree/debug/*.apk |