Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(i): Add action to ensure tidyness (#2697)
## Relevant issue(s) Resolves ##2695 ## Description ### Backstory - A commit (c42e7ee) broke mod tidy command recently - Which was fixed in the next commit in this PR: #2548 - Some head scratching was done to find out that mod tidy needed a minimum version, hence the current pinned mod tidy There are 2 things being checked within the new added action: 1) That the backstory doesn't happen again (`make tidy` isn't broken). 2) `make tidy` is ran and up to date. NOTE: `(2)` above I am not sure if we want to keep, or not I would be okay with just `(1)`. However here are some reasons why you would want `(2)`: - always be in `tidy state` - one less command to do at release stage. ## How has this been tested? - Action that failed when `make tidy` was broken: https://github.com/sourcenetwork/defradb/actions/runs/9422665720/job/25959440810?pr=2697 - Action that failed when `make tidy` was not up to date (i.e. not tidy): https://github.com/sourcenetwork/defradb/actions/runs/9422726089/job/25959622978?pr=2697 Specify the platform(s) on which this was tested: - WSL2
- Loading branch information