mirror of
https://github.com/Wurst-Imperium/Wurst7.git
synced 2024-09-19 00:42:13 +02:00
Combine spotlessCheck and build steps
This commit is contained in:
parent
5d642c314a
commit
8f23ad75d6
6
.github/workflows/gradle.yml
vendored
6
.github/workflows/gradle.yml
vendored
@ -47,12 +47,8 @@ jobs:
|
||||
if: ${{ github.event_name == 'push' }}
|
||||
uses: gradle/actions/dependency-submission@v4
|
||||
|
||||
- name: Check code style with Spotless
|
||||
id: spotless_check
|
||||
run: ./gradlew spotlessCheck
|
||||
|
||||
- name: Execute Gradle build
|
||||
run: ./gradlew build --stacktrace --warning-mode=fail
|
||||
run: ./gradlew spotlessCheck build --stacktrace --warning-mode=fail
|
||||
|
||||
- name: VirusTotal scan
|
||||
if: ${{ github.event_name == 'push' }}
|
||||
|
Loading…
Reference in New Issue
Block a user