Skip to content

Commit

Permalink
Merge pull request #19 from andrewafanasenko/andrewafanasenko-patch-1
Browse files Browse the repository at this point in the history
Create gradle.yml
  • Loading branch information
andrewafanasenko authored Nov 23, 2023
2 parents 1b95a56 + f380cb9 commit 3297524
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v2

- name: Set up Java
uses: actions/setup-java@v2
with:
java-version: 17
distribution: "temurin"

- name: Make gradlew executable
run: chmod +x ./gradlew

- name: Run lint
run: ./gradlew lintDebug

- name: Upload html test report
uses: actions/upload-artifact@v2
with:
name: lint.html
path: app/build/reports/lint-results-debug.html

0 comments on commit 3297524

Please sign in to comment.