Run xt0rted/dotnet-format@v1
with:
repo-token: ***
action: check
fail-fast: true
env:
DOTNET_ROOT: /home/runner/.dotnet
/home/runner/.dotnet/dotnet format --check --dry-run
The file '--dry-run' does not appear to be a valid project or solution file.
Error: Formatting issues found
https://github.com/dotnet/format#new-in-v50211103