Skip to content

fix(deps): update serialization to v1.7.3 #1477

fix(deps): update serialization to v1.7.3

fix(deps): update serialization to v1.7.3 #1477

Workflow file for this run

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.1.1
with:
submodules: 'recursive'
fetch-depth: 0
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v40
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.1.1
with:
fetch-depth: 0
- name: Set up JDK
uses: actions/setup-java@v3.13.0
with:
distribution: "zulu"
java-version: "17"
cache: "gradle"
- name: Check codestyle
uses: gradle/gradle-build-action@v2.9.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.1.1
with:
fetch-depth: 0
- name: Set up JDK
uses: actions/setup-java@v3.13.0
with:
distribution: "zulu"
java-version: "17"
cache: "gradle"
- name: Run lint on debug variants
uses: gradle/gradle-build-action@v2.9.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.1.1
with:
fetch-depth: 0
- name: Set up JDK
uses: actions/setup-java@v3.13.0
with:
distribution: "zulu"
java-version: "17"
cache: "gradle"
- name: Build debug APKs
uses: gradle/gradle-build-action@v2.9.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