Skip to content

Commit

Permalink
cherrypick "Update dotnet-format to address breaking changes introduc…
Browse files Browse the repository at this point in the history
…ed by upstream changes (#5528)"
  • Loading branch information
maryamhonari committed Oct 6, 2021
1 parent 965f271 commit 6d33c73
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ jobs:
ruby-version: '2.6'
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '3.1.x'
dotnet-version: '6.0.x'
include-prerelease: true
- uses: pre-commit/action@v2.0.0

markdown-link-check:
Expand Down
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,10 @@ repos:
exclude: ".*localized.*"

- repo: https://github.com/dotnet/format
rev: "7e343070a0355c86f72bdee226b5e19ffcbac931" # TODO - update to a tagged version when one that includes the hook is ready.
rev: v5.1.225507
hooks:
- id: dotnet-format
entry: dotnet-format whitespace
args: [--folder, --include]

# "Local" hooks, see https://pre-commit.com/#repository-local-hooks
Expand Down

0 comments on commit 6d33c73

Please sign in to comment.