mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-25 02:45:53 +03:00
applying jvm memory settings to CI linting tasks
- should stop the task crashing on the CI
This commit is contained in:
parent
2ab2af90e9
commit
eef904b3d5
1 changed files with 3 additions and 3 deletions
6
.github/workflows/quality.yml
vendored
6
.github/workflows/quality.yml
vendored
|
@ -140,7 +140,7 @@ jobs:
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-gradle-
|
${{ runner.os }}-gradle-
|
||||||
- name: Lint analysis
|
- name: Lint analysis
|
||||||
run: ./gradlew clean :vector:lint --stacktrace
|
run: ./gradlew clean :vector:lint --stacktrace $CI_GRADLE_ARG_PROPERTIES
|
||||||
- name: Upload reports
|
- name: Upload reports
|
||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
|
@ -173,7 +173,7 @@ jobs:
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-gradle-
|
${{ runner.os }}-gradle-
|
||||||
- name: Lint ${{ matrix.target }} release
|
- name: Lint ${{ matrix.target }} release
|
||||||
run: ./gradlew clean lint${{ matrix.target }}Release --stacktrace
|
run: ./gradlew clean lint${{ matrix.target }}Release --stacktrace $CI_GRADLE_ARG_PROPERTIES
|
||||||
- name: Upload ${{ matrix.target }} linting report
|
- name: Upload ${{ matrix.target }} linting report
|
||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
|
@ -193,7 +193,7 @@ jobs:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Run detekt
|
- name: Run detekt
|
||||||
run: |
|
run: |
|
||||||
./gradlew detekt
|
./gradlew detekt $CI_GRADLE_ARG_PROPERTIES
|
||||||
- name: Upload reports
|
- name: Upload reports
|
||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
|
|
Loading…
Reference in a new issue