diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index 6a887c67..e1d18a90 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -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 diff --git a/src/NuGetUtility/PackageInformationReader/PackageMetadata.cs b/src/NuGetUtility/PackageInformationReader/PackageMetadata.cs index 7c9f3769..14606816 100644 --- a/src/NuGetUtility/PackageInformationReader/PackageMetadata.cs +++ b/src/NuGetUtility/PackageInformationReader/PackageMetadata.cs @@ -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; } }