From 20cb316b91938d7d082b2f7eef73f55accd4547f Mon Sep 17 00:00:00 2001 From: Alexander01998 Date: Sat, 4 Jan 2025 16:32:04 +0100 Subject: [PATCH] Fix license header task name --- .github/workflows/gradle.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index ff9f4c2..b146afc 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -60,7 +60,7 @@ jobs: run: ./gradlew spotlessJavaCheck || (echo "::error::Java code style validation failed! To fix, run 'Clean Up' and then 'Format' in Eclipse, or './gradlew spotlessApply' in the terminal." && exit 1) - name: Validate license headers - run: ./gradlew licenseHeaderCheck || (echo "::error::License headers are missing or malformed in some files! Run './gradlew spotlessApply' to fix this, or check the full error message for details." && exit 1) + run: ./gradlew spotlessLicenseHeaderCheck || (echo "::error::License headers are missing or malformed in some files! Run './gradlew spotlessApply' to fix this, or check the full error message for details." && exit 1) - name: Run unit tests run: ./gradlew test --stacktrace --warning-mode=fail