Compare commits
1 Commits
d5ec118679
...
cac8bf1344
Author | SHA1 | Date | |
---|---|---|---|
cac8bf1344 |
@ -6,24 +6,24 @@ on:
|
|||||||
- chore-crowdin-ci
|
- chore-crowdin-ci
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Lint:
|
# Lint:
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
steps:
|
# steps:
|
||||||
- name: Check out repository code
|
# - name: Check out repository code
|
||||||
uses: actions/checkout@v4
|
# uses: actions/checkout@v4
|
||||||
- uses: actions/setup-java@v4
|
# - uses: actions/setup-java@v4
|
||||||
with:
|
# with:
|
||||||
distribution: 'temurin'
|
# distribution: 'temurin'
|
||||||
java-version: '17'
|
# java-version: '17'
|
||||||
cache: gradle
|
# cache: gradle
|
||||||
- name: Install klint
|
# - name: Install klint
|
||||||
run: curl -sSLO https://github.com/pinterest/ktlint/releases/download/1.5.0/ktlint && chmod a+x ktlint && mv ktlint /usr/local/bin/
|
# run: curl -sSLO https://github.com/pinterest/ktlint/releases/download/1.5.0/ktlint && chmod a+x ktlint && mv ktlint /usr/local/bin/
|
||||||
- name: Install detekt
|
# - name: Install detekt
|
||||||
run: curl -sSLO https://github.com/detekt/detekt/releases/download/v1.23.7/detekt-cli-1.23.7.zip && unzip detekt-cli-1.23.7.zip
|
# run: curl -sSLO https://github.com/detekt/detekt/releases/download/v1.23.7/detekt-cli-1.23.7.zip && unzip detekt-cli-1.23.7.zip
|
||||||
- name: Linting...
|
# - name: Linting...
|
||||||
run: ktlint 'shared/**/*.kt' 'androidApp/**/*.kt' '!shared/build'
|
# run: ktlint 'shared/**/*.kt' 'androidApp/**/*.kt' '!shared/build'
|
||||||
- name: Detecting...
|
# - name: Detecting...
|
||||||
run: ./detekt-cli-1.23.7/bin/detekt-cli -c detekt.yml --excludes '**/shared/build/**/*.kt'
|
# run: ./detekt-cli-1.23.7/bin/detekt-cli -c detekt.yml --excludes '**/shared/build/**/*.kt'
|
||||||
translations:
|
translations:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
@ -74,6 +74,6 @@ jobs:
|
|||||||
remote: ${{ secrets.REMOTE_URL }}
|
remote: ${{ secrets.REMOTE_URL }}
|
||||||
ssh_key: ${{ secrets.PRIVATE_KEY }}
|
ssh_key: ${{ secrets.PRIVATE_KEY }}
|
||||||
branch: ${{ github.head_ref || github.ref_name }}
|
branch: ${{ github.head_ref || github.ref_name }}
|
||||||
build:
|
# build:
|
||||||
needs: Lint
|
# needs: Lint
|
||||||
uses: ./.gitea/workflows/common_build.yml
|
# uses: ./.gitea/workflows/common_build.yml
|
||||||
|
Loading…
x
Reference in New Issue
Block a user