Code Style Check #136
Workflow file for this run
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
name: Code Style Check | |
on: | |
workflow_dispatch: | |
pull_request: | |
jobs: | |
check-code-style: | |
runs-on: windows-2022 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
global-json-file: "./global.json" | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Check dotnet version | |
run: dotnet --version | |
# - name: Check dotnet --format version | |
# run: dotnet format --version | |
# - name: env | |
# run: echo $env:Path | |
# - name: dir | |
# run: dir "C:\Program Files\dotnet" | |
# - name: gcm dotnet | |
# run: gcm dotnet | |
- name: Check code format (editorconfig) | |
run: dotnet format --verify-no-changes |