Created
April 19, 2022 06:28
-
-
Save root-ansh-ct/1746fb0e1b74ec4c02825c6b23ecb249 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
name: validate PR raised from develop branched to master branch | |
on: | |
pull_request: | |
branches: [ master ] | |
jobs: | |
lint-static_checks-test-build: | |
if: github.head_ref == 'develop' | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- name: Check lint | |
if: always() | |
run: ./gradlew :app:lint :base:lint :common:lint :feat:home:lint :feat:profile:lint | |
- name: Upload Lint results | |
if: always() | |
uses: actions/upload-artifact@v2 | |
with: | |
name: lint_results | |
path: | | |
app/build/reports/lint-results.html | |
base/build/reports/lint-results.html | |
common/build/reports/lint-results.html | |
feat/home/build/reports/lint-results.html | |
feat/profile/build/reports/lint-results.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment