Skip to content

Commit

Permalink
Use gradle 8.7
Browse files Browse the repository at this point in the history
Optimize workflows
  • Loading branch information
BolZer committed Jun 11, 2024
1 parent e4bbaee commit 9430e9a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/spotbugs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,13 @@ jobs:
java-version: '20'
cache: 'gradle'

- name: Main Spotbugs
run: ./gradlew spotbugsMain
- name: Setup Gradle
uses: gradle/gradle-build-action@v3
with:
gradle-version: 8.7

- name: Main Spotbugs with Gradle Wrapper
run: gradle spotbugsMain

- name: Test Spotbugs
run: ./gradlew spotbugsTest
- name: Test Spotbugs with Gradle Wrapper
run: gradle spotbugsTest
7 changes: 6 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,10 @@ jobs:
java-version: ${{ matrix.java-version }}
cache: 'gradle'

- name: Setup Gradle
uses: gradle/gradle-build-action@v3
with:
gradle-version: 8.7

- name: Run tests with gradle wrapper
run: ./gradlew test
run: gradle test

0 comments on commit 9430e9a

Please sign in to comment.