Added command feedback using WriteObject on 'Yubikey' and 'Fido' cmdl… #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# dotnet-format.yaml | |
name: dotnet Format | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: '8.x.x' # Specify the .NET version you're using | |
- name: Run dotnet format | |
run: dotnet format Module/powershellYK.csproj | |
continue-on-error: false | |
- name: Check for uncommitted changes | |
run: | | |
if [[ $(git status --porcelain) ]]; then | |
echo "There are uncommitted changes after running dotnet format." | |
exit 1 | |
fi |