Skip to content

Commit

Permalink
housekeeping: Dotnet tools manifest (#1081)
Browse files Browse the repository at this point in the history
* Create dotnet-tools.json

* Update dotnet-core.yml
  • Loading branch information
dpvreony authored May 23, 2022
1 parent a4ad37c commit a7bac62
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 12 deletions.
42 changes: 42 additions & 0 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
@@ -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"
]
}
}
}
13 changes: 1 addition & 12 deletions .github/workflows/dotnet-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -100,7 +94,6 @@ jobs:
mkdir artifacts\outdated
mkdir artifacts\snitch
mkdir artifacts\omd
mkdir artifacts\docfx
- name: Restore Packages
run: |
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a7bac62

Please sign in to comment.