Skip to content

Update compose.material to v1.5.4 - autoclosed #526

Update compose.material to v1.5.4 - autoclosed

Update compose.material to v1.5.4 - autoclosed #526

Workflow file for this run

name: Code Quality
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
file-changes:
runs-on: ubuntu-latest
outputs:
android: ${{ steps.android.outputs.any_changed }}
client-core: ${{ steps.client-core.outputs.any_changed }}
client-ui: ${{ steps.client-ui.outputs.any_changed }}
data-models: ${{ steps.data-models.outputs.any_changed }}
ios: ${{ steps.ios.outputs.any_changed }}
web: ${{ steps.web.outputs.any_changed }}
server: ${{ steps.server.outputs.any_changed }}
steps:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
fetch-depth: 0
- name: Get changed files
id: android
uses: tj-actions/changed-files@v37
with:
files: |
**/anystream-client-android/**/*.kt
**/anystream-client-android/**/*.kts
- name: Get changed files
id: client-core
uses: tj-actions/changed-files@v37
with:
files: |
**/anystream-client-core/**/*.kt
**/anystream-client-core/**/*.kts
- name: Get changed files
id: data-models
uses: tj-actions/changed-files@v37
with:
files: |
**/anystream-data-models/**/*.kt
**/anystream-data-models/**/*.kts
- name: Get changed files
id: client-ui
uses: tj-actions/changed-files@v37
with:
files: |
**/anystream-client-ui/**/*.kt
**/anystream-client-ui/**/*.kts
- name: Get changed files
id: server
uses: tj-actions/changed-files@v37
with:
files: |
**/anystream-server/**/*.kt
**/anystream-server/**/*.kts
- name: Get changed files
id: ios
uses: tj-actions/changed-files@v37
with:
files: |
**/anystream-client-ios/**
- name: Get changed files
id: web
uses: tj-actions/changed-files@v37
with:
files: |
**/anystream-client-web/**/*.kt
**/anystream-client-web/**/*.kts
client-ui:
runs-on: ubuntu-latest
needs: [ file-changes ]
if: needs.file-changes.outputs.client-ui == 'true' || github.ref_name == 'main'
steps:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 17
- name: Cache Build files
uses: actions/cache@v3
with:
path: |
~/.konan
~/.gradle
key: ${{ runner.os }}-${{ hashFiles('gradle.properties') }}-v2
- uses: gradle/gradle-build-action@v2
name: Spotless Check
with:
arguments: -p anystream-client-ui spotlessCheck lintKotlin
client-android:
runs-on: ubuntu-latest
needs: [ file-changes ]
if: needs.file-changes.outputs.android == 'true' || github.ref_name == 'main'
steps:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 17
- name: Cache Build files
uses: actions/cache@v3
with:
path: |
~/.konan
~/.gradle
key: ${{ runner.os }}-${{ hashFiles('gradle.properties') }}-v2
- uses: gradle/gradle-build-action@v2
name: Spotless Check
with:
arguments: -p anystream-client-android spotlessCheck lintKotlin
client-core:
runs-on: ubuntu-latest
needs: [ file-changes ]
if: needs.file-changes.outputs.client-core == 'true' || github.ref_name == 'main'
steps:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 17
- name: Cache Build files
uses: actions/cache@v3
with:
path: |
~/.konan
~/.gradle
key: ${{ runner.os }}-${{ hashFiles('gradle.properties') }}-v2
- uses: gradle/gradle-build-action@v2
name: Spotless Check
with:
arguments: -p anystream-client-core spotlessCheck lintKotlin
client-web:
runs-on: ubuntu-latest
needs: [ file-changes ]
if: needs.file-changes.outputs.web == 'true' || github.ref_name == 'main'
steps:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 17
- name: Cache Build files
uses: actions/cache@v3
with:
path: |
~/.konan
~/.gradle
key: ${{ runner.os }}-${{ hashFiles('gradle.properties') }}-v2
- uses: gradle/gradle-build-action@v2
name: Spotless Check
with:
arguments: -p anystream-client-web spotlessCheck lintKotlin
data-models:
runs-on: ubuntu-latest
needs: [ file-changes ]
if: needs.file-changes.outputs.data-models == 'true' || github.ref_name == 'main'
steps:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 17
- name: Cache Build files
uses: actions/cache@v3
with:
path: |
~/.konan
~/.gradle
key: ${{ runner.os }}-${{ hashFiles('gradle.properties') }}-v2
- uses: gradle/gradle-build-action@v2
name: Spotless Check
with:
arguments: -p anystream-data-models spotlessCheck lintKotlin
server:
runs-on: ubuntu-latest
needs: [ file-changes ]
if: needs.file-changes.outputs.server == 'true' || github.ref_name == 'main'
steps:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 17
- name: Cache Build files
uses: actions/cache@v3
with:
path: |
~/.konan
~/.gradle
key: ${{ runner.os }}-${{ hashFiles('gradle.properties') }}-v2
- uses: gradle/gradle-build-action@v2
name: Spotless Check
with:
arguments: -p anystream-server spotlessCheck lintKotlin