Skip to content

Commit

Permalink
Use gradle-build-action in GitHub action.
Browse files Browse the repository at this point in the history
Just run build, as that include other Gradle tasks.
  • Loading branch information
Borewit authored and Borewit committed Feb 4, 2023
1 parent e85a321 commit abb2bf6
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@ jobs:
java-version: 15
distribution: 'adopt'
cache: 'gradle'
- name: Build (Gradle)
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Run build with Gradle Wrapper
run: ./gradlew build
- name: Run unit tests (Gradle)
run: ./gradlew test
- name: CheckStyle main (Gradle)
run: ./gradlew checkstyleMain
- name: CheckStyle test (Gradle)
run: ./gradlew checkstyleTest

0 comments on commit abb2bf6

Please sign in to comment.