Skip to content

Commit

Permalink
Merge branch 'release/4.4.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalberger committed May 18, 2024
2 parents 6b65b32 + 094015b commit 81815ba
Show file tree
Hide file tree
Showing 589 changed files with 4,989 additions and 3,380 deletions.
6 changes: 3 additions & 3 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ install:
- ps: mkdir $env:DOTNET_INSTALL_DIR -Force | Out-Null
- ps: Invoke-WebRequest -Uri "https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.ps1" -OutFile "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1"
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 5.0.408 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 6.0.421 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 7.0.408 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 8.0.204 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 6.0.422 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 7.0.409 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 8.0.300 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
- ps: dotnet --info

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/integrationtests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Get the sources
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
- name: Fetch all tags and branches
run: git fetch --prune --unshallow
- name: Install .NET
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Get the sources
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
- name: Download build artifact
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4
with:
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Get the sources
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
- name: Download build artifact
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Get the sources
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
- name: Fetch all tags and branches
run: git fetch --prune --unshallow
- name: Install .NET
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
[![Join in the discussion on the Cake repository](https://img.shields.io/badge/GitHub-Discussions-green?logo=github)](https://github.com/orgs/cake-build/discussions/categories/extension-q-a)
![Stable Release](https://img.shields.io/nuget/v/Cake.Issues?label=Stable)
![Pre-Release)](https://img.shields.io/nuget/vpre/Cake.Issues?label=Pre-Release)
[![Code Coverage](https://codecov.io/github/cake-contrib/Cake.Issues/graph/badge.svg?token=2ihmfB985d)](https://codecov.io/github/cake-contrib/Cake.Issues)

The Cake.Issues addins for the [Cake build automation system](https://cakebuild.net) offer an extensive and flexible solution for reading linting issues.

Expand Down
6 changes: 0 additions & 6 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,6 @@ stages:
vmImage: $(imageName)
steps:
- template: .azuredevops/pipelines/templates/steps/install-net6.yml
- template: .azuredevops/pipelines/templates/steps/install-markdownlint.yml
- template: .azuredevops/pipelines/templates/steps/provide-nuget-packages.yml
- powershell: ./build.ps1 --verbosity=diagnostic
workingDirectory: ./tests/Cake.Issues.Reporting.Generic/script-runner
Expand Down Expand Up @@ -259,7 +258,6 @@ stages:
vmImage: $(imageName)
steps:
- template: .azuredevops/pipelines/templates/steps/install-net6.yml
- template: .azuredevops/pipelines/templates/steps/install-markdownlint.yml
- template: .azuredevops/pipelines/templates/steps/provide-nuget-packages.yml
- powershell: ./build.ps1 --verbosity=diagnostic
workingDirectory: ./tests/Cake.Issues.Reporting.Generic/frosting
Expand Down Expand Up @@ -292,7 +290,6 @@ stages:
vmImage: $(imageName)
steps:
- template: .azuredevops/pipelines/templates/steps/install-net6.yml
- template: .azuredevops/pipelines/templates/steps/install-markdownlint.yml
- template: .azuredevops/pipelines/templates/steps/provide-nuget-packages.yml
- powershell: ./build.ps1 --verbosity=diagnostic
workingDirectory: ./tests/Cake.Issues.Reporting.Sarif/script-runner
Expand Down Expand Up @@ -320,7 +317,6 @@ stages:
vmImage: $(imageName)
steps:
- template: .azuredevops/pipelines/templates/steps/install-net6.yml
- template: .azuredevops/pipelines/templates/steps/install-markdownlint.yml
- template: .azuredevops/pipelines/templates/steps/provide-nuget-packages.yml
- powershell: ./build.ps1 --verbosity=diagnostic
workingDirectory: ./tests/Cake.Issues.Reporting.Sarif/frosting/net6
Expand Down Expand Up @@ -348,7 +344,6 @@ stages:
vmImage: $(imageName)
steps:
- template: .azuredevops/pipelines/templates/steps/install-net7.yml
- template: .azuredevops/pipelines/templates/steps/install-markdownlint.yml
- template: .azuredevops/pipelines/templates/steps/provide-nuget-packages.yml
- powershell: ./build.ps1 --verbosity=diagnostic
workingDirectory: ./tests/Cake.Issues.Reporting.Sarif/frosting/net7
Expand Down Expand Up @@ -376,7 +371,6 @@ stages:
vmImage: $(imageName)
steps:
- template: .azuredevops/pipelines/templates/steps/install-net8.yml
- template: .azuredevops/pipelines/templates/steps/install-markdownlint.yml
- template: .azuredevops/pipelines/templates/steps/provide-nuget-packages.yml
- powershell: ./build.ps1 --verbosity=diagnostic
workingDirectory: ./tests/Cake.Issues.Reporting.Sarif/frosting/net8
Expand Down
81 changes: 81 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
comment:
layout: "header, diff, flags, components" # show component info in the PR comment

component_management:
default_rules:
statuses:
- type: project
target: auto
individual_components:
- component_id: cake_issues
name: Cake.Issues
paths:
- src/Cake.Issues/**
- component_id: cake_issues_docfx
name: Cake.Issues.DocFx
paths:
- src/Cake.Issues.DocFx/**
- component_id: cake_issues_eslint
name: Cake.Issues.EsLint
paths:
- src/Cake.Issues.EsLint/**
- component_id: cake_issues_gitrepository
name: Cake.Issues.GitRepository
paths:
- src/Cake.Issues.GitRepository/**
- component_id: cake_issues_inspectcode
name: Cake.Issues.InspectCode
paths:
- src/Cake.Issues.InspectCode/**
- component_id: cake_issues_markdownlint
name: Cake.Issues.Markdownlint
paths:
- src/Cake.Issues.Markdownlint/**
- component_id: cake_issues_msbuild
name: Cake.Issues.MsBuild
paths:
- src/Cake.Issues.MsBuild/**
- component_id: cake_issues_pullrequests
name: Cake.Issues.PullRequests
paths:
- src/Cake.Issues.PullRequests/**
- component_id: cake_issues_pullrequests_appveyor
name: Cake.Issues.PullRequests.AppVeyor
paths:
- src/Cake.Issues.PullRequests.AppVeyor/**
- component_id: cake_issues_pullrequests_azuredevops
name: Cake.Issues.PullRequests.AzureDevOps
paths:
- src/Cake.Issues.PullRequests.AzureDevOps/**
- component_id: cake_issues_pullrequests_githubactions
name: Cake.Issues.PullRequests.GitHubActions
paths:
- src/Cake.Issues.PullRequests.GitHubActions/**
- component_id: cake_issues_reporting
name: Cake.Issues.Reporting
paths:
- src/Cake.Issues.Reporting/**
- component_id: cake_issues_reporting_console
name: Cake.Issues.Reporting.Console
paths:
- src/Cake.Issues.Reporting.Console/**
- component_id: cake_issues_reporting_generic
name: Cake.Issues.Reporting.Generic
paths:
- src/Cake.Issues.Reporting.Generic/**
- component_id: cake_issues_reporting_sarif
name: Cake.Issues.Reporting.Sarif
paths:
- src/Cake.Issues.Reporting.Sarif/**
- component_id: cake_issues_sarif
name: Cake.Issues.Sarif
paths:
- src/Cake.Issues.Sarif/**
- component_id: cake_issues_terraform
name: Cake.Issues.Terraform
paths:
- src/Cake.Issues.Terraform/**
- component_id: cake_issues_testing
name: Cake.Issues.Testing
paths:
- src/Cake.Issues.Testing/**
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@ <h2>MSBuild</h2>
<td>Warning</td>
<td>ClassLibrary1</td>
<td>src/ClassLibrary1</td>
<td>Class1.cs</td>
<td>1:1</td>
<td>CSC</td>
<td></td>
<td>
<a href="https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1633.md" target="_blank">SA1633</a>
<a href="https://www.google.com/search?q="CA9998:"+site:learn.microsoft.com" target="_blank">CA9998</a>
</td>
<td>The file header is missing or not located at the top of the file.</td>
<td>FxCopAnalyzers package has been deprecated in favor of &#x27;Microsoft.CodeAnalysis.NetAnalyzers&#x27;, that ships with the .NET SDK. Please refer to https://docs.microsoft.com/visualstudio/code-quality/migrate-from-fxcop-analyzers-to-net-analyzers to migrate to .NET analyzers.</td>
</tr>
<tr>
<td>Warning</td>
Expand All @@ -87,12 +87,12 @@ <h2>MSBuild</h2>
<td>Warning</td>
<td>ClassLibrary1</td>
<td>src/ClassLibrary1</td>
<td>CSC</td>
<td></td>
<td>Class1.cs</td>
<td>1:1</td>
<td>
<a href="https://www.google.com/search?q="CA9998:"+site:learn.microsoft.com" target="_blank">CA9998</a>
<a href="https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1633.md" target="_blank">SA1633</a>
</td>
<td>FxCopAnalyzers package has been deprecated in favor of &#x27;Microsoft.CodeAnalysis.NetAnalyzers&#x27;, that ships with the .NET SDK. Please refer to https://docs.microsoft.com/visualstudio/code-quality/migrate-from-fxcop-analyzers-to-net-analyzers to migrate to .NET analyzers.</td>
<td>The file header is missing or not located at the top of the file.</td>
</tr>
<tr>
<td>Warning</td>
Expand Down Expand Up @@ -154,22 +154,22 @@ <h2>MSBuild</h2>
<td>ClassLibrary1</td>
<td>src/ClassLibrary1</td>
<td>Class1.cs</td>
<td>21:21</td>
<td>11:21</td>
<td>
<a href="https://www.google.com/search?q="CA1822:"+site:learn.microsoft.com" target="_blank">CA1822</a>
</td>
<td>Member &#x27;Bar&#x27; does not access instance data and can be marked as static</td>
<td>Member &#x27;Foo&#x27; does not access instance data and can be marked as static</td>
</tr>
<tr>
<td>Warning</td>
<td>ClassLibrary1</td>
<td>src/ClassLibrary1</td>
<td>Class1.cs</td>
<td>11:21</td>
<td>21:21</td>
<td>
<a href="https://www.google.com/search?q="CA1822:"+site:learn.microsoft.com" target="_blank">CA1822</a>
</td>
<td>Member &#x27;Foo&#x27; does not access instance data and can be marked as static</td>
<td>Member &#x27;Bar&#x27; does not access instance data and can be marked as static</td>
</tr>
<tr>
<td>Warning</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,19 +55,19 @@
<tr>
<td>src/ClassLibrary1/ClassLibrary1.csproj</td>
<td>ClassLibrary1</td>
<td>src/ClassLibrary1/Class1.cs</td>
<td>1</td>
<td>src/ClassLibrary1/CSC</td>
<td></td>
<td>1</td>
<td></td>
<td>The file header is missing or not located at the top of the file.</td>
<td></td>
<td></td>
<td>FxCopAnalyzers package has been deprecated in favor of &#x27;Microsoft.CodeAnalysis.NetAnalyzers&#x27;, that ships with the .NET SDK. Please refer to https://docs.microsoft.com/visualstudio/code-quality/migrate-from-fxcop-analyzers-to-net-analyzers to migrate to .NET analyzers.</td>
<td></td>
<td></td>
<td>300</td>
<td>Warning</td>
<td>SA1633</td>
<td>CA9998</td>
<td></td>
<td>https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1633.md</td>
<td>https://www.google.com/search?q=&quot;CA9998:&quot;&#x2B;site:learn.microsoft.com</td>
<td></td>
<td>Cake.Issues.MsBuild.MsBuildIssuesProvider</td>
<td>MSBuild</td>
Expand Down Expand Up @@ -95,19 +95,19 @@
<tr>
<td>src/ClassLibrary1/ClassLibrary1.csproj</td>
<td>ClassLibrary1</td>
<td>src/ClassLibrary1/CSC</td>
<td></td>
<td></td>
<td>src/ClassLibrary1/Class1.cs</td>
<td>1</td>
<td></td>
<td>1</td>
<td></td>
<td>FxCopAnalyzers package has been deprecated in favor of &#x27;Microsoft.CodeAnalysis.NetAnalyzers&#x27;, that ships with the .NET SDK. Please refer to https://docs.microsoft.com/visualstudio/code-quality/migrate-from-fxcop-analyzers-to-net-analyzers to migrate to .NET analyzers.</td>
<td>The file header is missing or not located at the top of the file.</td>
<td></td>
<td></td>
<td>300</td>
<td>Warning</td>
<td>CA9998</td>
<td>SA1633</td>
<td></td>
<td>https://www.google.com/search?q=&quot;CA9998:&quot;&#x2B;site:learn.microsoft.com</td>
<td>https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1633.md</td>
<td></td>
<td>Cake.Issues.MsBuild.MsBuildIssuesProvider</td>
<td>MSBuild</td>
Expand Down Expand Up @@ -216,11 +216,11 @@
<td>src/ClassLibrary1/ClassLibrary1.csproj</td>
<td>ClassLibrary1</td>
<td>src/ClassLibrary1/Class1.cs</td>
<td>21</td>
<td>11</td>
<td></td>
<td>21</td>
<td></td>
<td>Member &#x27;Bar&#x27; does not access instance data and can be marked as static</td>
<td>Member &#x27;Foo&#x27; does not access instance data and can be marked as static</td>
<td></td>
<td></td>
<td>300</td>
Expand All @@ -236,11 +236,11 @@
<td>src/ClassLibrary1/ClassLibrary1.csproj</td>
<td>ClassLibrary1</td>
<td>src/ClassLibrary1/Class1.cs</td>
<td>11</td>
<td>21</td>
<td></td>
<td>21</td>
<td></td>
<td>Member &#x27;Foo&#x27; does not access instance data and can be marked as static</td>
<td>Member &#x27;Bar&#x27; does not access instance data and can be marked as static</td>
<td></td>
<td></td>
<td>300</td>
Expand Down Expand Up @@ -281,8 +281,8 @@
<td></td>
<td></td>
<td>Possible duplicate detected (cost 76).&#xD;&#xA;The following fragments were found that might be duplicates:&#xD;&#xA;&quot;src\ClassLibrary1\Class1.cs&quot; (Line 22 to 29)</td>
<td>Possible duplicate detected (cost 76).&lt;br/&gt;The following fragments were found that might be duplicates:&lt;br/&gt;&lt;a href=&#x27;https://github.com/cake-contrib/Cake.Issues.Reporting.Generic/blob/develop/demos/script-runner/src/ClassLibrary1/Class1.cs#L22-L29&#x27;&gt;src\ClassLibrary1\Class1.cs&lt;/a&gt; (Line 22 to 29)</td>
<td>Possible duplicate detected (cost 76).&#xD;&#xA;The following fragments were found that might be duplicates:&#xD;&#xA;[src\ClassLibrary1\Class1.cs](https://github.com/cake-contrib/Cake.Issues.Reporting.Generic/blob/develop/demos/script-runner/src/ClassLibrary1/Class1.cs#L22-L29) (Line 22 to 29)</td>
<td>Possible duplicate detected (cost 76).&lt;br/&gt;The following fragments were found that might be duplicates:&lt;br/&gt;&lt;a href=&#x27;https://github.com/cake-contrib/Cake.Issues/blob/develop/tests/TestDataGenerator/src/ClassLibrary1/Class1.cs#L22-L29&#x27;&gt;src\ClassLibrary1\Class1.cs&lt;/a&gt; (Line 22 to 29)</td>
<td>Possible duplicate detected (cost 76).&#xD;&#xA;The following fragments were found that might be duplicates:&#xD;&#xA;[src\ClassLibrary1\Class1.cs](https://github.com/cake-contrib/Cake.Issues/blob/develop/tests/TestDataGenerator/src/ClassLibrary1/Class1.cs#L22-L29) (Line 22 to 29)</td>
<td>300</td>
<td>Warning</td>
<td>dupFinder</td>
Expand All @@ -301,8 +301,8 @@
<td></td>
<td></td>
<td>Possible duplicate detected (cost 76).&#xD;&#xA;The following fragments were found that might be duplicates:&#xD;&#xA;&quot;src\ClassLibrary1\Class1.cs&quot; (Line 12 to 19)</td>
<td>Possible duplicate detected (cost 76).&lt;br/&gt;The following fragments were found that might be duplicates:&lt;br/&gt;&lt;a href=&#x27;https://github.com/cake-contrib/Cake.Issues.Reporting.Generic/blob/develop/demos/script-runner/src/ClassLibrary1/Class1.cs#L12-L19&#x27;&gt;src\ClassLibrary1\Class1.cs&lt;/a&gt; (Line 12 to 19)</td>
<td>Possible duplicate detected (cost 76).&#xD;&#xA;The following fragments were found that might be duplicates:&#xD;&#xA;[src\ClassLibrary1\Class1.cs](https://github.com/cake-contrib/Cake.Issues.Reporting.Generic/blob/develop/demos/script-runner/src/ClassLibrary1/Class1.cs#L12-L19) (Line 12 to 19)</td>
<td>Possible duplicate detected (cost 76).&lt;br/&gt;The following fragments were found that might be duplicates:&lt;br/&gt;&lt;a href=&#x27;https://github.com/cake-contrib/Cake.Issues/blob/develop/tests/TestDataGenerator/src/ClassLibrary1/Class1.cs#L12-L19&#x27;&gt;src\ClassLibrary1\Class1.cs&lt;/a&gt; (Line 12 to 19)</td>
<td>Possible duplicate detected (cost 76).&#xD;&#xA;The following fragments were found that might be duplicates:&#xD;&#xA;[src\ClassLibrary1\Class1.cs](https://github.com/cake-contrib/Cake.Issues/blob/develop/tests/TestDataGenerator/src/ClassLibrary1/Class1.cs#L12-L19) (Line 12 to 19)</td>
<td>300</td>
<td>Warning</td>
<td>dupFinder</td>
Expand Down
Loading

0 comments on commit 81815ba

Please sign in to comment.