Skip to content

Commit

Permalink
feat(CI): Add lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Razano26 committed May 28, 2024
1 parent b5968ba commit f5568a1
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,33 @@
name: Lint Gradle project
name: Test Gradle project

on: [push, pull_request]

jobs:

lint-gradle-project:
runs-on: ubuntu-latest

steps:
- name: Checkout project source
uses: actions/checkout@v4

- name: Set Java
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'

- name: Set up Gradle
uses: gradle/actions/setup-gradle@v3

- name: Run lint
run: ./gradlew lint

build-gradle-project:
runs-on: ubuntu-latest

needs: lint-gradle-project

steps:
- name: Checkout project source
uses: actions/checkout@v4
Expand Down

0 comments on commit f5568a1

Please sign in to comment.