-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/0.4.15' into main
- Loading branch information
Showing
1,502 changed files
with
10,088 additions
and
3,992 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ jobs: | |
- run: | | ||
npm install --save-dev @babel/plugin-transform-flow-strip-types | ||
- name: Danger | ||
uses: danger/[email protected].1 | ||
uses: danger/[email protected].2 | ||
with: | ||
args: "--dangerfile ./tools/danger/dangerfile.js" | ||
env: | ||
|
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ on: | |
# Enrich gradle.properties for CI/CD | ||
env: | ||
GRADLE_OPTS: -Dorg.gradle.jvmargs="-Xmx6g -XX:MaxMetaspaceSize=512m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError" -Dkotlin.incremental=false -XX:+UseG1GC | ||
CI_GRADLE_ARG_PROPERTIES: --stacktrace -PpreDexEnable=false --max-workers 8 --no-daemon -Dsonar.gradle.skipCompile=true | ||
CI_GRADLE_ARG_PROPERTIES: --stacktrace --no-daemon -Dsonar.gradle.skipCompile=true | ||
|
||
jobs: | ||
checkScript: | ||
|
@@ -33,6 +33,27 @@ jobs: | |
- name: Search for invalid screenshot files | ||
run: ./tools/test/checkInvalidScreenshots.py | ||
|
||
checkDependencies: | ||
name: Search for invalid dependencies | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Use JDK 17 | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'temurin' # See 'Supported distributions' for available options | ||
java-version: '17' | ||
- name: Configure gradle | ||
uses: gradle/actions/setup-gradle@v3 | ||
with: | ||
cache-read-only: ${{ github.ref != 'refs/heads/develop' }} | ||
- name: Set up Python 3.12 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.12 | ||
- name: Search for invalid dependencies | ||
run: ./tools/dependencies/checkDependencies.py | ||
|
||
# Code checks | ||
konsist: | ||
name: Konsist tests | ||
|
@@ -88,6 +109,10 @@ jobs: | |
uses: gradle/actions/setup-gradle@v3 | ||
with: | ||
cache-read-only: ${{ github.ref != 'refs/heads/develop' }} | ||
- name: Build Gplay Debug | ||
run: ./gradlew :app:compileGplayDebugKotlin $CI_GRADLE_ARG_PROPERTIES | ||
- name: Build Fdroid Debug | ||
run: ./gradlew :app:compileFdroidDebugKotlin $CI_GRADLE_ARG_PROPERTIES | ||
- name: Run lint | ||
run: ./gradlew :app:lintGplayDebug :app:lintFdroidDebug $CI_GRADLE_ARG_PROPERTIES | ||
- name: Upload reports | ||
|
@@ -187,6 +212,19 @@ jobs: | |
- name: Run Knit | ||
run: ./gradlew knitCheck $CI_GRADLE_ARG_PROPERTIES | ||
|
||
# Note: to auto fix issues you can use the following command: | ||
# shellcheck -f diff <files> | git apply | ||
shellcheck: | ||
name: Check shell scripts | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Run shellcheck | ||
uses: ludeeus/[email protected] | ||
with: | ||
scandir: ./tools | ||
severity: warning | ||
|
||
upload_reports: | ||
name: Project Check Suite | ||
runs-on: ubuntu-latest | ||
|
@@ -207,7 +245,7 @@ jobs: | |
yarn add danger-plugin-lint-report --dev | ||
- name: Danger lint | ||
if: always() | ||
uses: danger/[email protected].1 | ||
uses: danger/[email protected].2 | ||
with: | ||
args: "--dangerfile ./tools/danger/dangerfile-lint.js" | ||
env: | ||
|
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
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
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
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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
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
Oops, something went wrong.