File tree Expand file tree Collapse file tree 4 files changed +20
-6
lines changed
Expand file tree Collapse file tree 4 files changed +20
-6
lines changed Original file line number Diff line number Diff line change @@ -90,12 +90,12 @@ jobs:
9090 name : Test nuke
9191 runs-on : ubuntu-latest
9292 steps :
93- - uses : actions/checkout@v3
93+ - uses : actions/checkout@v4
9494 with :
9595 fetch-depth : 0
96- - uses : actions/setup-dotnet@v3
96+ - uses : actions/setup-dotnet@v4
9797 with :
98- dotnet-version : " 8 .x.x"
98+ dotnet-version : " 9 .x.x"
9999 - name : " Cache: .nuke/temp, ~/.nuget/packages"
100100 uses : actions/cache@v3
101101 with :
@@ -104,6 +104,13 @@ jobs:
104104 ~/.nuget/packages
105105 key : ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Packages.props') }}
106106 - run : git switch -c test-branch
107- - run : dotnet restore
107+ - run : |
108+ dotnet nuget add source \
109+ https://nuget.pkg.github.com/BusHero/index.json \
110+ --name github \
111+ --username BusHero \
112+ --password ${{ secrets.GITHUB_TOKEN }} \
113+ --store-password-in-clear-text
114+ dotnet restore
108115 - run : dotnet build --no-restore
109116 - run : dotnet test --no-build --no-restore
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFramework >net8 .0</TargetFramework >
4+ <TargetFramework >net9 .0</TargetFramework >
55 <ImplicitUsings >enable</ImplicitUsings >
66 <Nullable >enable</Nullable >
77
1414 <PackageReference Include =" Autofixture.xunit2" Version =" 4.18.0" />
1515 <PackageReference Include =" CLIWrap" Version =" 3.6.4" />
1616 <PackageReference Include =" FluentAssertions" Version =" 6.12.0" />
17+ <PackageReference Include =" GitSnapshotter" Version =" 0.0.4" />
1718 <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.6.0" />
1819 <PackageReference Include =" TestableIO.System.IO.Abstractions.TestingHelpers" Version =" 21.1.7" />
1920 <PackageReference Include =" TestableIO.System.IO.Abstractions.Wrappers" Version =" 21.1.7" />
Original file line number Diff line number Diff line change 22
33 <PropertyGroup >
44 <OutputType >Exe</OutputType >
5- <TargetFramework >net8 .0</TargetFramework >
5+ <TargetFramework >net9 .0</TargetFramework >
66 <RootNamespace ></RootNamespace >
77 <NoWarn >CS0649;CS0169</NoWarn >
88 <ImplicitUsings >enable</ImplicitUsings >
Original file line number Diff line number Diff line change 1+ {
2+ "sdk" : {
3+ "version" : " 9.0.102" ,
4+ "rollForward" : " latestFeature"
5+ }
6+ }
You can’t perform that action at this time.
0 commit comments