You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tasks/.github/workflows/lint.yml

47 lines
949 B
YAML

4 years ago
name: Lint
on:
push:
paths-ignore:
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- README.md
- 'fastlane/**'
- .github/FUNDING.yml
pull_request:
paths-ignore:
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- README.md
- 'fastlane/**'
- .github/FUNDING.yml
4 years ago
permissions:
contents: read
4 years ago
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
2 years ago
- name: Set up JDK 17
uses: actions/setup-java@v3
4 years ago
with:
distribution: 'temurin'
2 years ago
java-version: '17'
4 years ago
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Lint checks
run: bundle exec fastlane lint
3 years ago
- name: Archive lint reports
uses: actions/upload-artifact@v3
if: ${{ always() }}
3 years ago
with:
name: lint-reports
path: app/build/reports/*.html