ci: making sure all the tools are installed properly

This commit is contained in:
D. Moonfire 2022-09-02 11:04:19 -05:00
parent cf06d4cd3d
commit 739d0674fa
4 changed files with 10 additions and 3 deletions

View file

@ -2,8 +2,14 @@
"version": 1, "version": 1,
"isRoot": true, "isRoot": true,
"tools": { "tools": {
"gitversion.tool": {
"version": "5.9.0",
"commands": [
"dotnet-gitversion"
]
},
"dotnet-reportgenerator-globaltool": { "dotnet-reportgenerator-globaltool": {
"version": "5.0.0", "version": "5.1.3",
"commands": [ "commands": [
"reportgenerator" "reportgenerator"
] ]

View file

@ -15,6 +15,7 @@ echo "$(basename $0): cleaning project"
dotnet clean dotnet clean
# Version the file based on the Git repository. # Version the file based on the Git repository.
echo "$(basename $0): setting project version"
(cd src && dotnet dotnet-gitversion /updateprojectfiles) (cd src && dotnet dotnet-gitversion /updateprojectfiles)
SEMVER="v$(dotnet gitversion /output json | jq -r .SemVer)" SEMVER="v$(dotnet gitversion /output json | jq -r .SemVer)"

View file

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net5.0</TargetFramework> <TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<Description>A set of utilities and extension methods to make System.IO easier.</Description> <Description>A set of utilities and extension methods to make System.IO easier.</Description>
</PropertyGroup> </PropertyGroup>

View file

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net5.0</TargetFramework> <TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
</PropertyGroup> </PropertyGroup>