Skip to content

Commit

Permalink
use built in dotnet format
Browse files Browse the repository at this point in the history
  • Loading branch information
sensslen committed Dec 22, 2023
1 parent 829245c commit b2b8c24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,8 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v4

- name: Add dotnet-format problem matcher
uses: xt0rted/dotnet-format-problem-matcher@v1

- name: Restore dotnet tools
uses: xt0rted/dotnet-tool-restore@v1

- name: Run dotnet format
uses: xt0rted/dotnet-format@v1
with:
only-changed-files: ${{ github.event_name == 'pull_request' }}
- name: run dotnet format
run: dotnet format --verify-no-changes

check_licenses:
runs-on: ubuntu-latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ public PackageMetadata(PackageIdentity identity, string licenseIdentifier, Licen

public string Summary => string.Empty;

public LicenseMetadata? LicenseMetadata { get; } = null;
public LicenseMetadata? LicenseMetadata { get; } = null;
}
}

0 comments on commit b2b8c24

Please sign in to comment.