Update cake monorepo to v5 (major) #64
pull-requests.yml
on: pull_request
build-test-pull-request
34s
Annotations
10 errors and 1 warning
build-test-pull-request:
src/Cake.Buildah/GenericBuildahRunner.cs#L39
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
|
build-test-pull-request:
src/Cake.Buildah/GenericBuildahRunner.cs#L44
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
|
build-test-pull-request:
src/Cake.Buildah/ArgumentsBuilderExtension.cs#L32
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
|
build-test-pull-request:
src/Cake.Buildah/ArgumentsBuilderExtension.cs#L37
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
|
build-test-pull-request:
src/Cake.Buildah/GenericBuildahRunner.cs#L72
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
|
build-test-pull-request:
src/Cake.Buildah/GenericBuildahRunner.cs#L77
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
|
build-test-pull-request:
src/Cake.Buildah/GenericBuildahRunner.cs#L21
Use primary constructor (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0290)
|
build-test-pull-request:
src/Cake.Buildah/BuildahTool.cs#L44
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
|
build-test-pull-request:
src/Cake.Buildah/Custom/CustomCommand/BuildahAliases.Aliases.CustomCommand.cs#L20
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
|
build-test-pull-request:
src/Cake.Buildah/Custom/CustomCommand/BuildahAliases.Aliases.CustomCommand.cs#L58
Use 'string.IndexOf(char)' instead of 'string.IndexOf(string)' when you have a string with a single char (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1865)
|
build-test-pull-request
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|