Skip to content

Commit

Permalink
Add dotnet-tools-ci.json and remove .Net 6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonGraal committed Jan 11, 2025
1 parent bee58ff commit 072cd85
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 4 deletions.
16 changes: 16 additions & 0 deletions .config/dotnet-tools-ci.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"version": 1,
"isRoot": true,
"tools": {
"dotnet-coverage": {
"version": "17.12.4",
"commands": ["dotnet-coverage"],
"rollForward": false
},
"dotnet-reportgenerator-globaltool": {
"version": "5.3.9",
"commands": ["reportgenerator"],
"rollForward": false
}
}
}
9 changes: 5 additions & 4 deletions .github/workflows/dotnet-test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Dotnet Build and Test

on: [push]
on:
- push
- workflow_dispatch

permissions:
contents: read
Expand All @@ -14,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: ["6.0.x", "8.0.x"]
dotnet-version: ["8.0.x"]
steps:
- uses: actions/checkout@v4
- name: Setup dotnet
Expand All @@ -23,8 +25,7 @@ jobs:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Install tools
run: |
dotnet tool update dotnet-coverage
dotnet tool update dotnet-reportgenerator-globaltool
dotnet tool restore --tool-manifest .config/dotnet-tools-ci.json
- name: Install dependencies
run: dotnet restore
- name: Build
Expand Down

0 comments on commit 072cd85

Please sign in to comment.