From a7bac62f936f75aec6451adbb5c2305c165d2c4e Mon Sep 17 00:00:00 2001 From: David Vreony Date: Mon, 23 May 2022 20:29:57 +0100 Subject: [PATCH] housekeeping: Dotnet tools manifest (#1081) * Create dotnet-tools.json * Update dotnet-core.yml --- .config/dotnet-tools.json | 42 +++++++++++++++++++++++++++++++ .github/workflows/dotnet-core.yml | 13 +--------- 2 files changed, 43 insertions(+), 12 deletions(-) create mode 100644 .config/dotnet-tools.json diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json new file mode 100644 index 000000000..555f9575c --- /dev/null +++ b/.config/dotnet-tools.json @@ -0,0 +1,42 @@ +{ + "version": 1, + "isRoot": true, + "tools": { + "snitch": { + "version": "1.10.0", + "commands": [ + "snitch" + ] + }, + "dotmorten.omdgenerator": { + "version": "1.3.1", + "commands": [ + "generateomd" + ] + }, + "configvalidate": { + "version": "1.0.0", + "commands": [ + "config-validate" + ] + }, + "dotnet-sonarscanner": { + "version": "5.5.3", + "commands": [ + "dotnet-sonarscanner" + ] + }, + "jetbrains.resharper.globaltools": { + "version": "2022.1.1", + "commands": [ + "jb" + ] + }, + "dotnet-outdated-tool": { + "version": "4.1.0", + "commands": [ + "dotnet-outdated" + ] + } + } +} \ No newline at end of file diff --git a/.github/workflows/dotnet-core.yml b/.github/workflows/dotnet-core.yml index 6407f4b8c..43b6eed69 100644 --- a/.github/workflows/dotnet-core.yml +++ b/.github/workflows/dotnet-core.yml @@ -85,13 +85,7 @@ jobs: setAllVars: true - name: Install dotnet tools - run: | - dotnet tool install --global dotMorten.OmdGenerator - dotnet tool install --global ConfigValidate - dotnet tool install --global dotnet-outdated-tool - dotnet tool install --global snitch - dotnet tool install --global dotnet-sonarscanner - dotnet tool install --global JetBrains.ReSharper.GlobalTools --version 2021.2.2 + run: dotnet tool restore - name: Prepare Artifact Directory run: | @@ -100,7 +94,6 @@ jobs: mkdir artifacts\outdated mkdir artifacts\snitch mkdir artifacts\omd - mkdir artifacts\docfx - name: Restore Packages run: | @@ -143,10 +136,6 @@ jobs: run: | dotnet outdated -o artifacts\outdated\outdated.json src - - name: Run Resharper Duplicate Code Finder - run: | - jb dupfinder ${{ env.solutionpath }} -o=artifacts\dupfinder\report.xml - - name: VirusTotal Monitor Scan if: ${{ env.VIRUSTOTAL_API_KEY != 0 }} uses: crazy-max/ghaction-virustotal@v2