2 Commits

Author SHA1 Message Date
Fred Tingaud
3e3f54d821
Merge all rule validation scripts under a single task (#4255)
We shouldn't clone the whole repository three times to run three scripts that each take a few seconds.
2024-09-10 11:15:30 +02:00
Cristian Ambrosini
ea83931eb0
Add CI task to validate file extension (#3196)
The dotnet squad would like to improve the rule specification sprint
process requiring some UTs to be temporarily added under the rule folder
on RSPEC repository. These test case files (`.cs` and `.vb`) will be
copied to the sonar-dotnet repository during the initial phases of
implementation and will serve as an initial test bed.
However, before merging the PR on the RSPEC side we need to make sure
that these test case files are deleted and they don't end up on master.

The goal of this PR would be to add a check on the pipeline that will
fail if `.cs` or `.vb` files are detected (it's acceptable if it's red
until the implementation is done).
2023-10-09 10:37:38 +02:00