-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
587 changed files
with
5,514 additions
and
49,998 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: .NET Format | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'dev' | ||
paths: | ||
- '**.cs' | ||
- '**.yml' # assume ci/cd pipeline changes | ||
|
||
jobs: | ||
format: | ||
runs-on: windows-latest | ||
|
||
permissions: | ||
contents: write | ||
|
||
env: | ||
DOTNET_CLI_TELEMETRY_OPTOUT: true | ||
DOTNET_NOLOGO: true | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.FUYU_WORKFLOWS }} | ||
ref: ${{ github.head_ref }} | ||
|
||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: '8.0.x' | ||
|
||
- name: .NET restore | ||
run: dotnet restore --nologo --configfile Nuget.config | ||
|
||
- name: .NET clean | ||
run: dotnet clean --nologo | ||
|
||
- name: .NET format | ||
run: dotnet format --no-restore | ||
|
||
- name: Push changes | ||
run: | | ||
git config user.name "github-actions[bot]" | ||
git config user.email "170472707+github-actions[bot]@users.noreply.github.com" | ||
git add . | ||
git commit -m "[skip CI] CI/CD: format code" | ||
git push |
File renamed without changes.
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.