|
|
|
@ -22,20 +22,21 @@ jobs:
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
- uses: ruby/setup-ruby@v1
|
|
|
|
|
with:
|
|
|
|
|
bundler-cache: true
|
|
|
|
|
- name: Set up JDK 11
|
|
|
|
|
uses: actions/setup-java@v1
|
|
|
|
|
uses: actions/setup-java@v3
|
|
|
|
|
with:
|
|
|
|
|
java-version: '11.0.8'
|
|
|
|
|
distribution: 'temurin'
|
|
|
|
|
java-version: '11'
|
|
|
|
|
- name: Grant execute permission for gradlew
|
|
|
|
|
run: chmod +x gradlew
|
|
|
|
|
- name: Lint checks
|
|
|
|
|
run: bundle exec fastlane lint
|
|
|
|
|
- name: Archive lint reports
|
|
|
|
|
uses: actions/upload-artifact@v2
|
|
|
|
|
uses: actions/upload-artifact@v3
|
|
|
|
|
with:
|
|
|
|
|
name: lint-reports
|
|
|
|
|
if: always()
|
|
|
|
|