This repository has been archived by the owner on Nov 20, 2023. It is now read-only.
[main] Update dependencies from dotnet/arcade #2128
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: Format | |
on: | |
pull_request: | |
branches: | |
- main | |
- release/* | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET Core SDK | |
uses: actions/setup-dotnet@v1.7.2 | |
with: | |
dotnet-version: 3.1.100 | |
- name: dotnet tool restore | |
run: dotnet tool restore | |
- name: add dotnet format problem matcher | |
run: echo "::add-matcher::build/dotnet-format-problem-matcher.json" | |
- name: dotnet format | |
run: dotnet format -w tye.sln --check --dry-run -v diag | |