[.Net] update dotnet-ci and dotnet-release to use 8.0.x version when setting up .NET. And enable format check (#3136)

* use 8.0.x versin

* enable format check

* change file header

* apply code format

* add instructions in ci to fix format error

* add comment back
This commit is contained in:
Xiaoyun Zhang
2024-07-15 12:33:10 -07:00
committed by GitHub
parent 7205ccc3b9
commit 970c1961dd
42 changed files with 80 additions and 50 deletions

View File

@@ -32,7 +32,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
global-json-file: dotnet/global.json
dotnet-version: '8.0.x'
- name: Restore dependencies
run: |
dotnet restore -bl