Skip to content

Commit

Permalink
Upgrade dotnet to v6 (#1680)
Browse files Browse the repository at this point in the history
* Upgrade dotnet to v6 + list_of_files for dotnet-format

* Fixes

* Fixes

* Adding dotnet project files

* Better .cs examples of bad code

* Dotnet Upgrade project files (#1679)

* Adding dotnet project files

* Better .cs examples of bad code

Co-authored-by: Alexandre Melotti <contato@lexmelotti.com>

* Update doc

* Adding .csproj files to sample_project_fixes

* Added .sln info on linter_text property

* Updated linter URL and added {{WORKSPACE}} CLI arg

* Unifying vb and csharp projects into one single solution

* Upgrade dotnet version on linter dockers

* Really upgrade dotnet everywhere

* Revert "Upgrade dotnet version on linter dockers"

This reverts commit 995e9df.

* Testing some Dockerfile configs

* dotnet info

* Trying to figure out dotnet version running on each test case

* Checking root's workspace

* Checking for tool versions

* Removing dotnet-format install from Docker images

* Updating linter versions and helps for dotnet-format

* Reverting pre_coomands and configuring new dotnet format params

* Forgot the "format" argument

* Updating test reports

* Fixed ERROR paths

* Undowngrade DevSkim version

* changelog

* Remove version from DevSkim install line

* Update TSQLLint version

* fix dotnet format call

* Using relative paths for worksapces

* Detailed logging for debug

* Revert "Using relative paths for worksapces"

This reverts commit 92f57bc.

* Disabling list_of_files mode.

* Reverting back to list_of_files

* Echoing linting command

* Checking workspace path

* Fixing descriptor parsing

* Fix parse

* Trying to figure out why --include is failing

* Testing the exact computed command manually

* Testing relative paths

* Checking file contnt before testing linter

* Checking editorconfig contents

* Adding editorconfigs to validate whitespaces.

Also reverting all changes to descriptors.

* Re-enabling detailed logging

* Adding style error to csharp_bad_02.cs.

* Testing whitespace formatting for vb only

* I don't know anymore

* Fixed VB descriptor

* A few mroe tests with editorconfigs

* Fixed pre-command syntax

* Testing lint without --include parameter

* Trying several path styles

* Testing some different paths

* Testing echo

* More tests

* Checking versions

* Adding dotnet --info

* Upgrade to dotnet 7 and removed list_of_files

* Revert some changes for --list-of-files

* More experiments

* Ops

* Fixing malformed file

* Whoa, python sux

* Change dotnet command

* Updating reports for tests

* Success linters also format bad files

* Separating good and bad test projects

* Revert back to dotnet6

* Updated success report files

* Removing unused import from DotnetFormatLinter.py

* Upgrade to dotnet 7

* Removing csharpier version specification from install cli

* Revert "Upgrade to dotnet 7"

This reverts commit 7630633.

* Updating changelog, removed 'list_of_files' for now

Co-authored-by: nvuillam <nicolas.vuillamy@gmail.com>
Co-authored-by: Alexandre Melotti <contato@lexmelotti.com>
  • Loading branch information
3 people authored Jan 6, 2023
1 parent 88d912e commit b549994
Show file tree
Hide file tree
Showing 36 changed files with 249 additions and 105 deletions.
35 changes: 20 additions & 15 deletions .automation/generated/linter-helps.json
Original file line number Diff line number Diff line change
Expand Up @@ -1580,30 +1580,35 @@
" list Shows list of available checks [aliases: l]"
],
"dotnet-format": [
"dotnet-format",
" dotnet-format",
"Description:",
" Formats code to match editorconfig settings.",
"",
"Usage:",
" dotnet-format [options] [<workspace>]",
" dotnet format [<PROJECT | SOLUTION>] [command] [options]",
"",
"Arguments:",
" <workspace> A path to a solution file, a project file, or a folder containing a solution or project file. If a path is not specified then the current directory is used. [default: ]",
" <PROJECT | SOLUTION> The project or solution file to operate on. If a file is not specified, the command will search the current directory for one. [default: ]",
"",
"Options:",
" --diagnostics <diagnostics> A space separated list of diagnostic ids to use as a filter when fixing code style or 3rd party issues.",
" [default: whichever ids are listed in the editorconfig file]",
" --severity <error|info|warn> The severity of diagnostics to fix. Allowed values are info, warn, and error.",
" --no-restore Doesn't execute an implicit restore before formatting.",
" -f, --folder Whether to treat the `<workspace>` argument as a simple folder of files.",
" -w, --fix-whitespace Run whitespace formatting. Run by default when not applying fixes.",
" -s, --fix-style <error|info|warn> Run code style analyzers and apply fixes.",
" -a, --fix-analyzers <error|info|warn> Run 3rd party analyzers and apply fixes.",
" --diagnostics <diagnostics> A space separated list of diagnostic ids to use as a filter when fixing code style or 3rd party issues. [default: ]",
" --include <include> A list of relative file or folder paths to include in formatting. All files are formatted if empty. [default: ]",
" --exclude <exclude> A list of relative file or folder paths to exclude from formatting. [default: ]",
" --check Formats files without saving changes to disk. Terminates with a non-zero exit code if any files were formatted.",
" --report <report-path> Accepts a file path, which if provided, will produce a json report in the given directory.",
" --verify-no-changes Verify no formatting changes would be performed. Terminates with a non-zero exit code if any files would have",
" been formatted.",
" --include <include> A list of relative file or folder paths to include in formatting. All files are formatted if empty. [default:",
" all files in the solution or project]",
" --exclude <exclude> A list of relative file or folder paths to exclude from formatting. [default: none]",
" --include-generated Format files generated by the SDK.",
" -v, --verbosity <d|detailed|diag|diagnostic|m|minimal|n|normal|q|quiet> Set the verbosity level. Allowed values are q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic]",
" --binarylog <binary-log-path> Log all project or solution load information to a binary log file.",
" --version Show version information",
" -?, -h, --help Show help and usage information",
" --report <report-path> Accepts a file path, which if provided, will produce a json report in the given directory.",
" -?, -h, --help Show command line help.",
"",
"Commands:",
" whitespace <PROJECT | SOLUTION> Run whitespace formatting. [default: ]",
" style <PROJECT | SOLUTION> Run code style analyzers and apply fixes. [default: ]",
" analyzers <PROJECT | SOLUTION> Run 3rd party analyzers and apply fixes. [default: ]",
""
],
"dustilock": [
Expand Down
11 changes: 11 additions & 0 deletions .automation/test/csharp/bad/csharp_bad_01.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
using System;

namespace HelloWorld
{
class Program {
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
}
13 changes: 13 additions & 0 deletions .automation/test/csharp/bad/csharp_bad_02.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
using System;

namespace HelloWorld
{
class Program
{
static void Main (string[] args)
{
Console.WriteLine ("Hello World!");
var value = 3 * 4 + 5;
}
}
}
10 changes: 10 additions & 0 deletions .automation/test/csharp/bad/csharp_project.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

</Project>
Binary file removed .automation/test/csharp/csharp_bad_01.cs
Binary file not shown.
File renamed without changes.
12 changes: 12 additions & 0 deletions .automation/test/csharp/good/csharp_good_02.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
using System;

namespace HelloWorld
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
}
10 changes: 10 additions & 0 deletions .automation/test/csharp/good/csharp_project.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

</Project>
16 changes: 10 additions & 6 deletions .automation/test/csharp/reports/ERROR-CSHARP_DOTNET_FORMAT.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
Results of dotnet-format linter (version 4.1.131201)
Results of dotnet-format linter (version 000)
See documentation on https://megalinter.github.io/descriptors/csharp_dotnet_format/
-----------------------------------------------

[ERROR] .automation/test/csharp/csharp_bad_01.cs
Formatting code files in workspace '.automation/test/csharp'.
csharp/csharp_bad_01.cs(1,33): Fix whitespace formatting.
Formatted code file '.automation/test/csharp/csharp_bad_01.cs'.
Format complete in 1295ms.
❌ [ERROR] .automation/test/csharp/csharp_bad_01.cs
.automation/test/csharp/csharp_bad_01.cs(5,18): error WHITESPACE: Fix whitespace formatting. Replace 1 characters with '\n\s\s\s\s'. [.automation/test/csharp/csharp_project.csproj]
.automation/test/csharp/csharp_bad_02.cs(7,25): error WHITESPACE: Fix whitespace formatting. Delete 1 characters. [.automation/test/csharp/csharp_project.csproj]
.automation/test/csharp/csharp_bad_02.cs(9,30): error WHITESPACE: Fix whitespace formatting. Delete 1 characters. [.automation/test/csharp/csharp_project.csproj]

❌ [ERROR] .automation/test/csharp/csharp_bad_02.cs
.automation/test/csharp/csharp_bad_01.cs(5,18): error WHITESPACE: Fix whitespace formatting. Replace 1 characters with '\n\s\s\s\s'. [.automation/test/csharp/csharp_project.csproj]
.automation/test/csharp/csharp_bad_02.cs(7,25): error WHITESPACE: Fix whitespace formatting. Delete 1 characters. [.automation/test/csharp/csharp_project.csproj]
.automation/test/csharp/csharp_bad_02.cs(9,30): error WHITESPACE: Fix whitespace formatting. Delete 1 characters. [.automation/test/csharp/csharp_project.csproj]

10 changes: 6 additions & 4 deletions .automation/test/csharp/reports/SUCCESS-CSHARP_DOTNET_FORMAT.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
Results of dotnet-format linter (version 4.1.131201)
Results of dotnet-format linter (version 000)
See documentation on https://megalinter.github.io/descriptors/csharp_dotnet_format/
-----------------------------------------------

[SUCCESS] .automation/test/csharp/csharp_good_01.cs
Formatting code files in workspace '.automation/test/csharp'.
Format complete in 1181ms.
✅ [SUCCESS] .automation/test/csharp/good/csharp_good_01.cs


✅ [SUCCESS] .automation/test/csharp/good/csharp_good_02.cs


Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

</Project>
31 changes: 31 additions & 0 deletions .automation/test/sample_project_fixes/dotnet_solution.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.2.32630.192
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "csharp_project", "csharp_project\csharp_project.csproj", "{FF219771-9DBB-4FB0-8217-F77034831035}"
EndProject
Project("{778DAE3C-4631-46EA-AA77-85C1314464D9}") = "vbdotnet_project", "vbdotnet_project\vbdotnet_project.vbproj", "{AF06A915-8734-4B54-836D-A0E2BAE228EB}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{FF219771-9DBB-4FB0-8217-F77034831035}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{FF219771-9DBB-4FB0-8217-F77034831035}.Debug|Any CPU.Build.0 = Debug|Any CPU
{FF219771-9DBB-4FB0-8217-F77034831035}.Release|Any CPU.ActiveCfg = Release|Any CPU
{FF219771-9DBB-4FB0-8217-F77034831035}.Release|Any CPU.Build.0 = Release|Any CPU
{AF06A915-8734-4B54-836D-A0E2BAE228EB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{AF06A915-8734-4B54-836D-A0E2BAE228EB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AF06A915-8734-4B54-836D-A0E2BAE228EB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AF06A915-8734-4B54-836D-A0E2BAE228EB}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {4DFF31ED-FADA-4A6E-B9D4-51D89C3C1FFC}
EndGlobalSection
EndGlobal
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<RootNamespace>vb_projecty</RootNamespace>
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>

</Project>
9 changes: 9 additions & 0 deletions .automation/test/vbdotnet/bad/vb_projecty.vbproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<RootNamespace>vb_projecty</RootNamespace>
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>

</Project>
File renamed without changes.
7 changes: 7 additions & 0 deletions .automation/test/vbdotnet/bad/vbdotnet_bad_2.vb
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Imports System

Public Module Hello
Public Sub Main( )
Console.WriteLine("hello, world"
End Sub
End Module
9 changes: 9 additions & 0 deletions .automation/test/vbdotnet/good/vb_projecty.vbproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<RootNamespace>vb_projecty</RootNamespace>
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>

</Project>
7 changes: 7 additions & 0 deletions .automation/test/vbdotnet/good/vbdotnet_good_2.vb
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Imports System

Public Module Hello
Public Sub Main()
Console.WriteLine("hello, world")
End Sub
End Module
24 changes: 16 additions & 8 deletions .automation/test/vbdotnet/reports/ERROR-VBDOTNET_DOTNET_FORMAT.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,20 @@
Results of dotnet-format linter (version 4.1.131201)
Results of dotnet-format linter (version 000)
See documentation on https://megalinter.github.io/descriptors/vbdotnet_dotnet_format/
-----------------------------------------------

[ERROR] .automation/test/vbdotnet/vbdotnet_bad_1.vb
Formatting code files in workspace '.automation/test/vbdotnet'.
vbdotnet/vbdotnet_bad_1.vb(4,4): Fix whitespace formatting.
vbdotnet/vbdotnet_bad_1.vb(4,20): Fix whitespace formatting.
vbdotnet/vbdotnet_bad_1.vb(5,7): Fix whitespace formatting.
Formatted code file '.automation/test/vbdotnet/vbdotnet_bad_1.vb'.
Format complete in 1188ms.
❌ [ERROR] .automation/test/vbdotnet/vbdotnet_bad_1.vb
.automation/test/vbdotnet/vbdotnet_bad_1.vb(4,4): error WHITESPACE: Fix whitespace formatting. Insert '\s'. [.automation/test/vbdotnet/vb_projecty.vbproj]
.automation/test/vbdotnet/vbdotnet_bad_1.vb(4,20): error WHITESPACE: Fix whitespace formatting. Delete 2 characters. [.automation/test/vbdotnet/vb_projecty.vbproj]
.automation/test/vbdotnet/vbdotnet_bad_1.vb(5,7): error WHITESPACE: Fix whitespace formatting. Insert '\s\s'. [.automation/test/vbdotnet/vb_projecty.vbproj]
.automation/test/vbdotnet/vbdotnet_bad_2.vb(4,4): error WHITESPACE: Fix whitespace formatting. Insert '\s'. [.automation/test/vbdotnet/vb_projecty.vbproj]
.automation/test/vbdotnet/vbdotnet_bad_2.vb(4,20): error WHITESPACE: Fix whitespace formatting. Delete 2 characters. [.automation/test/vbdotnet/vb_projecty.vbproj]
.automation/test/vbdotnet/vbdotnet_bad_2.vb(5,7): error WHITESPACE: Fix whitespace formatting. Insert '\s\s'. [.automation/test/vbdotnet/vb_projecty.vbproj]

❌ [ERROR] .automation/test/vbdotnet/vbdotnet_bad_2.vb
.automation/test/vbdotnet/vbdotnet_bad_1.vb(4,4): error WHITESPACE: Fix whitespace formatting. Insert '\s'. [.automation/test/vbdotnet/vb_projecty.vbproj]
.automation/test/vbdotnet/vbdotnet_bad_1.vb(4,20): error WHITESPACE: Fix whitespace formatting. Delete 2 characters. [.automation/test/vbdotnet/vb_projecty.vbproj]
.automation/test/vbdotnet/vbdotnet_bad_1.vb(5,7): error WHITESPACE: Fix whitespace formatting. Insert '\s\s'. [.automation/test/vbdotnet/vb_projecty.vbproj]
.automation/test/vbdotnet/vbdotnet_bad_2.vb(4,4): error WHITESPACE: Fix whitespace formatting. Insert '\s'. [.automation/test/vbdotnet/vb_projecty.vbproj]
.automation/test/vbdotnet/vbdotnet_bad_2.vb(4,20): error WHITESPACE: Fix whitespace formatting. Delete 2 characters. [.automation/test/vbdotnet/vb_projecty.vbproj]
.automation/test/vbdotnet/vbdotnet_bad_2.vb(5,7): error WHITESPACE: Fix whitespace formatting. Insert '\s\s'. [.automation/test/vbdotnet/vb_projecty.vbproj]

Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
Results of dotnet-format linter (version 4.1.131201)
Results of dotnet-format linter (version 000)
See documentation on https://megalinter.github.io/descriptors/vbdotnet_dotnet_format/
-----------------------------------------------

[SUCCESS] .automation/test/vbdotnet/vbdotnet_good_1.vb
Formatting code files in workspace '.automation/test/vbdotnet'.
Format complete in 1063ms.
✅ [SUCCESS] .automation/test/vbdotnet/good/vbdotnet_good_1.vb


✅ [SUCCESS] .automation/test/vbdotnet/good/vbdotnet_good_2.vb


2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l

- Fix perl linter skipping files

- Upgrade to dotnet 6.0, dotnet-format requires `.sln`, `.csproj` or `.vbproj` in the repo

- Linter versions upgrades
- [csharpier](https://csharpier.com/) from 0.21.0 to **0.16.0** on 2022-12-29
- [stylelint](https://stylelint.io) from 14.16.0 to **14.16.1** on 2022-12-29
Expand Down
18 changes: 7 additions & 11 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ RUN rc-update add docker boot && rc-service docker start || true \
# CSHARP installation
&& wget --tries=5 -q -O dotnet-install.sh https://dot.net/v1/dotnet-install.sh \
&& chmod +x dotnet-install.sh \
&& ./dotnet-install.sh --install-dir /usr/share/dotnet -channel 5.0 -version latest
&& ./dotnet-install.sh --install-dir /usr/share/dotnet -channel 6.0 -version latest

ENV PATH="${PATH}:/root/.dotnet/tools:/usr/share/dotnet"

Expand Down Expand Up @@ -366,7 +366,7 @@ RUN mkdir -p ${PWSH_DIRECTORY} \
# Next line commented because already managed by another linter
# RUN wget --tries=5 -q -O dotnet-install.sh https://dot.net/v1/dotnet-install.sh \
# && chmod +x dotnet-install.sh \
# && ./dotnet-install.sh --install-dir /usr/share/dotnet -channel 5.0 -version latest
# && ./dotnet-install.sh --install-dir /usr/share/dotnet -channel 6.0 -version latest
# Next line commented because already managed by another linter
# ENV PATH="${PATH}:/root/.dotnet/tools:/usr/share/dotnet"

Expand Down Expand Up @@ -408,7 +408,7 @@ RUN curl --retry 5 --retry-delay 5 -sLO "${ARM_TTK_URI}" \
&& /usr/share/dotnet/dotnet tool install -g dotnet-format \

# csharpier installation
&& /usr/share/dotnet/dotnet tool install -g csharpier --version 0.16.0 \
&& /usr/share/dotnet/dotnet tool install -g csharpier \

# dartanalyzer installation
&& wget --tries=50 -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub \
Expand Down Expand Up @@ -544,10 +544,10 @@ ENV PATH="~/.raku/bin:/opt/rakudo-pkg/bin:/opt/rakudo-pkg/share/perl6/site/bin:$
# Next line commented because already managed by another linter
# RUN wget --tries=5 -q -O dotnet-install.sh https://dot.net/v1/dotnet-install.sh \
# && chmod +x dotnet-install.sh \
# && ./dotnet-install.sh --install-dir /usr/share/dotnet -channel 5.0 -version latest
# && ./dotnet-install.sh --install-dir /usr/share/dotnet -channel 6.0 -version latest
# Next line commented because already managed by another linter
# ENV PATH="${PATH}:/root/.dotnet/tools:/usr/share/dotnet"
RUN dotnet tool install --global Microsoft.CST.DevSkim.CLI --version 0.6.9 \
RUN dotnet tool install --global Microsoft.CST.DevSkim.CLI \

# dustilock installation
&& ML_THIRD_PARTY_DIR=/download/dustilock && \
Expand Down Expand Up @@ -601,10 +601,10 @@ RUN dotnet tool install --global Microsoft.CST.DevSkim.CLI --version 0.6.9 \
# Next line commented because already managed by another linter
# RUN wget --tries=5 -q -O dotnet-install.sh https://dot.net/v1/dotnet-install.sh \
# && chmod +x dotnet-install.sh \
# && ./dotnet-install.sh --install-dir /usr/share/dotnet -channel 5.0 -version latest
# && ./dotnet-install.sh --install-dir /usr/share/dotnet -channel 6.0 -version latest
# Next line commented because already managed by another linter
# ENV PATH="${PATH}:/root/.dotnet/tools:/usr/share/dotnet"
&& dotnet tool install --global --version 1.14.5 TSQLLint \
&& dotnet tool install --global TSQLLint \

# tflint installation
# Managed with COPY --from=tflint /usr/local/bin/tflint /usr/bin/
Expand All @@ -624,10 +624,6 @@ RUN dotnet tool install --global Microsoft.CST.DevSkim.CLI --version 0.6.9 \
ENV KICS_QUERIES_PATH=/opt/kics/assets/queries KICS_LIBRARIES_PATH=/opt/kics/assets/libraries
# Managed with COPY --from=kics /app/bin/assets /opt/kics/assets/

# dotnet-format installation
# Next line commented because already managed by another linter
# RUN /usr/share/dotnet/dotnet tool install -g dotnet-format

#OTHER__END

################################
Expand Down
Loading

0 comments on commit b549994

Please sign in to comment.