Skip to content

Deployer: Check for role definition before adding it #489

Deployer: Check for role definition before adding it

Deployer: Check for role definition before adding it #489

Workflow file for this run

name: Format check on pull request
on: pull_request
jobs:
dotnet-format:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Run dotnet format
shell: bash
run: |
allProjectFiles=$(find ./ -type f -name "*.csproj" | tr '\n' ' ');
if [ $? -ne 0 ]; then exit 1; fi
echo "$allProjectFiles"
for file in $allProjectFiles; do
dotnet format $file --verify-no-changes --verbosity detailed
done