diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a8e671f..3089014 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,9 +29,6 @@ jobs: - name: Grant execute permission for gradlew run: chmod +x gradlew - - name: apply spotless - run: ./gradlew spotlessApply - # Runs a single command using the runners shell - name: Compile and run tests on robot code run: ./gradlew build diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml new file mode 100644 index 0000000..e69de29 diff --git a/build.gradle b/build.gradle index f78ec48..e69cf17 100644 --- a/build.gradle +++ b/build.gradle @@ -1,6 +1,6 @@ plugins { id "java" - id "edu.wpi.first.GradleRIO" version "2024.1.1-beta-2" + id "edu.wpi.first.GradleRIO" version "2024.1.1-beta-3" id("com.diffplug.spotless") version "6.22.0" } @@ -96,6 +96,7 @@ jar { } spotless { + enforceCheck = false java { googleJavaFormat() } diff --git a/src/main/java/com/team841/Swerve23/Robot.java b/src/main/java/com/team841/Swerve23/Robot.java index a08f446..7cfe6b3 100644 --- a/src/main/java/com/team841/Swerve23/Robot.java +++ b/src/main/java/com/team841/Swerve23/Robot.java @@ -1,7 +1,7 @@ package com.team841.Swerve23; import com.team841.Swerve23.Constants.ConstantsIO; -import com.team841.Swerve23.Constants.ConstantsIO.robotStates; +import com.team841.Swerve23.Constants.ConstantsIO.robotStates; import edu.wpi.first.wpilibj.TimedRobot; import edu.wpi.first.wpilibj2.command.Command; import edu.wpi.first.wpilibj2.command.CommandScheduler;