diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index 6022e3a..faf9005 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -9,10 +9,10 @@ ] }, "fsharp-analyzers": { - "version": "0.24.0", + "version": "0.25.0", "commands": [ "fsharp-analyzers" ] } } -} +} \ No newline at end of file diff --git a/.github/workflows/dotnet.yaml b/.github/workflows/dotnet.yaml index bb8ca64..558f234 100644 --- a/.github/workflows/dotnet.yaml +++ b/.github/workflows/dotnet.yaml @@ -58,7 +58,7 @@ jobs: - name: Build project run: nix develop --command dotnet build ./PrattParser/PrattParser.fsproj - name: Run analyzers - run: nix run .#fsharp-analyzers -- --project ./PrattParser/PrattParser.fsproj --analyzers-path ./.analyzerpackages/g-research.fsharp.analyzers/0.8.0/ --verbosity detailed --report ./analysis.sarif --treat-as-error GRA-STRING-001 GRA-STRING-002 GRA-STRING-003 GRA-UNIONCASE-001 GRA-INTERPOLATED-001 GRA-TYPE-ANNOTATE-001 GRA-VIRTUALCALL-001 GRA-IMMUTABLECOLLECTIONEQUALITY-001 GRA-JSONOPTS-001 GRA-LOGARGFUNCFULLAPP-001 + run: nix run .#fsharp-analyzers -- --project ./PrattParser/PrattParser.fsproj --analyzers-path ./.analyzerpackages/g-research.fsharp.analyzers/*/ --verbosity detailed --report ./analysis.sarif --treat-as-error GRA-STRING-001 GRA-STRING-002 GRA-STRING-003 GRA-UNIONCASE-001 GRA-INTERPOLATED-001 GRA-TYPE-ANNOTATE-001 GRA-VIRTUALCALL-001 GRA-IMMUTABLECOLLECTIONEQUALITY-001 GRA-JSONOPTS-001 GRA-LOGARGFUNCFULLAPP-001 build-nix: runs-on: ubuntu-latest diff --git a/analyzers/analyzers.fsproj b/analyzers/analyzers.fsproj index e519b3c..8a28bd1 100644 --- a/analyzers/analyzers.fsproj +++ b/analyzers/analyzers.fsproj @@ -10,7 +10,7 @@ - + diff --git a/nix/deps.nix b/nix/deps.nix index f3409c9..4281ab3 100644 --- a/nix/deps.nix +++ b/nix/deps.nix @@ -3,8 +3,8 @@ {fetchNuGet}: [ (fetchNuGet { pname = "fsharp-analyzers"; - version = "0.24.0"; - sha256 = "sha256-cNaM/yHI28sHDGamKMrU237ltOyrR+8vPNUImB5RxjU="; + version = "0.25.0"; + sha256 = "sha256-njfJYi40jNvrD+mgu9LtQw2Omh8P1SSDThesozH0KQY="; }) (fetchNuGet { pname = "G-Research.FSharp.Analyzers";