Skip to content

Commit

Permalink
Add linter for build.gradle files
Browse files Browse the repository at this point in the history
  • Loading branch information
yoomlam committed Sep 7, 2023
1 parent 5b5e032 commit 35bd80a
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint-gh-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: "Lint GitHub Actions"
on:
push:
paths:
- .github/workflows/*.yml
- .github/actions/**/*.yml
- '.github/workflows/*.yml'
- '.github/actions/**.yml'

jobs:
lint-github-actions:
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/lint-gradle-files.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: "Lint build.gradle files"
on:
push:
paths:
- '**.gradle'

# Allow manual triggering
workflow_dispatch:

jobs:
lint-gradle-files:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: "Lint Gradle files"
run: ./gradlew lintGradle

0 comments on commit 35bd80a

Please sign in to comment.