Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
dpvreony committed Nov 18, 2023
1 parent 7293c86 commit 0e2c782
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 20 deletions.
60 changes: 60 additions & 0 deletions .config/dotnet-tools.json
@@ -0,0 +1,60 @@
{
"version": 1,
"isRoot": true,
"tools": {
"snitch": {
"version": "2.0.0",
"commands": [
"snitch"
]
},
"dotmorten.omdgenerator": {
"version": "1.4.0",
"commands": [
"generateomd"
]
},
"configvalidate": {
"version": "1.0.0",
"commands": [
"config-validate"
]
},
"dotnet-sonarscanner": {
"version": "5.14.0",
"commands": [
"dotnet-sonarscanner"
]
},
"jetbrains.resharper.globaltools": {
"version": "2023.2.3",
"commands": [
"jb"
]
},
"dotnet-outdated-tool": {
"version": "4.5.3",
"commands": [
"dotnet-outdated"
]
},
"microsoft.cst.applicationinspector.cli": {
"version": "1.9.15",
"commands": [
"appinspector"
]
},
"dotnet-project-licenses": {
"version": "2.7.1",
"commands": [
"dotnet-project-licenses"
]
},
"microsoft.sbom.dotnettool": {
"version": "2.0.0",
"commands": [
"sbom-tool"
]
}
}
}
25 changes: 5 additions & 20 deletions .github/workflows/ci.yml
Expand Up @@ -26,26 +26,16 @@ jobs:
fetch-depth: 0

# java is used by sonar scanner
- name: Setup Java 11
- name: Setup Java 17
uses: actions/setup-java@v3
with:
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '11'
java-version: '17'

- name: Setup .NET Core 3.1
- name: Setup .NET 8
uses: actions/setup-dotnet@v3
with:
dotnet-version: 3.1.x

- name: Setup .NET 5
uses: actions/setup-dotnet@v3
with:
dotnet-version: 5.0.x

- name: Setup .NET 6
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x

- name: NBGV
id: nbgv
Expand All @@ -54,12 +44,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
run: dotnet tool restore

- name: Prepare Artifact Directory
run: |
Expand Down

0 comments on commit 0e2c782

Please sign in to comment.