diff --git a/.editorconfig b/.editorconfig index 444772e95..1296f8944 100644 --- a/.editorconfig +++ b/.editorconfig @@ -8,4 +8,3 @@ indent_size = 4 indent_style = space insert_final_newline = true trim_trailing_whitespace = true - diff --git a/.github/workflows/build_pull_request.yml b/.github/workflows/build_pull_request.yml index f5f41649c..0e82a1ea6 100644 --- a/.github/workflows/build_pull_request.yml +++ b/.github/workflows/build_pull_request.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Clone repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Validate Gradle Wrapper uses: gradle/wrapper-validation-action@v1 @@ -23,15 +23,18 @@ jobs: strategy: fail-fast: false matrix: - lang: [all, en, ar, ca, de, es, fr, id, it, ja, ko, pt, ru, th, tr, vi, zh, bg, hi, pl] + lang: [all, en, ar, de, es, fr, id, it, ja, ko, pt, ru, th, tr, vi, zh, bg, hi, pl] + # Full list of locales in project, but no APKs are produced for some of them here: + # lang: [all, en, ar, ca, de, es, fr, id, it, ja, ko, pt, ru, th, tr, vi, zh, bg, hi, pl] steps: - name: Checkout PR - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up JDK - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: - java-version: 1.8 + java-version: 8 + distribution: adopt - name: Copy CI gradle.properties run: | @@ -62,15 +65,18 @@ jobs: strategy: fail-fast: false matrix: - lang: [all, en, ar, ca, de, es, fr, id, it, ja, ko, pt, ru, th, tr, vi, zh, bg, hi, pl] + lang: [all, en, ar, ca, de, es, fr, id, it, ja, ko, pt, ru, th, tr, vi, zh] + # Full list of locales in project, but no APKs are produced for some of them here: + # lang: [all, en, ar, ca, de, es, fr, id, it, ja, ko, pt, ru, th, tr, vi, zh, bg, hi, pl] steps: - name: Checkout PR - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up JDK - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: - java-version: 1.8 + java-version: 8 + distribution: adopt - name: Copy CI gradle.properties run: | diff --git a/.github/workflows/build_push.yml b/.github/workflows/build_push.yml index 52226bc0f..98225e31d 100644 --- a/.github/workflows/build_push.yml +++ b/.github/workflows/build_push.yml @@ -19,7 +19,7 @@ jobs: all_but_latest: true - name: Clone repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Validate Gradle Wrapper uses: gradle/wrapper-validation-action@v1 @@ -31,15 +31,18 @@ jobs: strategy: fail-fast: false matrix: - lang: [all, en, ar, ca, de, es, fr, id, it, ja, ko, pt, ru, th, tr, vi, zh, bg, hi, pl] + lang: [all, en, ar, de, es, fr, id, it, ja, ko, pt, ru, th, tr, vi, zh, bg, hi, pl] + # Full list of locales in project, but no APKs are produced for some of them here: + # lang: [all, en, ar, ca, de, es, fr, id, it, ja, ko, pt, ru, th, tr, vi, zh, bg, hi, pl] steps: - name: Checkout master branch - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up JDK - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: - java-version: 1.8 + java-version: 8 + distribution: adopt - name: Copy CI files run: | @@ -52,7 +55,7 @@ jobs: env: CI_MULTISRC: "true" with: - arguments: :multisrc:generateExtensions + arguments: :multisrc:generateExtensions -x ktFormat -x ktLint cache-disabled: true - name: Build "${{ matrix.lang }}" extensions @@ -64,7 +67,7 @@ jobs: KEY_STORE_PASSWORD: ${{ secrets.KEY_STORE_PASSWORD }} KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }} with: - arguments: assembleRelease + arguments: assembleRelease -x lintKotlin cache-disabled: true - name: Upload "${{ matrix.lang }}" APKs @@ -85,15 +88,18 @@ jobs: strategy: fail-fast: false matrix: - lang: [all, en, ar, ca, de, es, fr, id, it, ja, ko, pt, ru, th, tr, vi, zh, bg, hi, pl] + lang: [all, en, ar, ca, de, es, fr, id, it, ja, ko, pt, ru, th, tr, vi, zh] + # Full list of locales in project, but no APKs are produced for some of them here: + # lang: [all, en, ar, ca, de, es, fr, id, it, ja, ko, pt, ru, th, tr, vi, zh, bg, hi, pl] steps: - name: Checkout master branch - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up JDK - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: - java-version: 1.8 + java-version: 8 + distribution: adopt - name: Copy CI files run: | @@ -110,7 +116,7 @@ jobs: KEY_STORE_PASSWORD: ${{ secrets.KEY_STORE_PASSWORD }} KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }} with: - arguments: assembleRelease + arguments: assembleRelease -x lintKotlin cache-disabled: true - name: Upload "${{ matrix.lang }}" APKs @@ -138,12 +144,13 @@ jobs: path: ~/apk-artifacts - name: Set up JDK - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: java-version: 11 + distribution: adopt - name: Checkout master branch - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: ref: master path: master @@ -158,7 +165,7 @@ jobs: ./.github/scripts/create-repo.sh - name: Checkout repo branch - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: ref: repo path: repo