Skip to content

Commit

Permalink
Ensure formatting check occurs in formatting_check action
Browse files Browse the repository at this point in the history
  • Loading branch information
VyaasBaskar committed Dec 27, 2024
1 parent 1efb47e commit 7f0a094
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/compilation_check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,8 @@ jobs:
- name: Install Roborio Toolchain
run: ./gradlew installRoborioToolchain

- name: Clear build directory
run: ./gradlew clean

- name: Compile code and run tests
run: ./gradlew build -PfromCI -PrunningSpotlessCpp
run: ./gradlew build -PfromCI --refresh-dependencies
2 changes: 1 addition & 1 deletion .github/workflows/formatting_check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ jobs:
run: ./gradlew installRoborioToolchain

- name: Spotless Check
run: ./gradlew spotlessCheck -PfromCI
run: ./gradlew spotlessCheck -PfromCI -PrunningSpotlessCpp
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,11 @@ To undo the going back:








## CppCheck Warnings
```
src\frc846\cpp\frc846\math\collection.cc:11:0: warning: The function 'HorizontalDeadband' is never used. [unusedFunction]
Expand Down
2 changes: 1 addition & 1 deletion src/frc846/include/frc846/robot/swerve/swerve_module.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

#include <variant>

#include <ctre/phoenix6/CANCoder.hpp>
#include <ctre/phoenix6/CANcoder.hpp>

namespace frc846::robot::swerve {

Expand Down

0 comments on commit 7f0a094

Please sign in to comment.