Skip to content

Commit 0172b89

Browse files
committed
Use new MTP platform for tests +semver: skip
1 parent de3a04c commit 0172b89

3 files changed

Lines changed: 11 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
build:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v6.0.2
1414
with:
1515
fetch-depth: 0
1616

@@ -22,9 +22,10 @@ jobs:
2222
run: dotnet-gitversion /output buildserver
2323

2424
- name: Setup .NET
25-
uses: actions/setup-dotnet@v3
25+
uses: actions/setup-dotnet@v5.2.0
2626
with:
27-
dotnet-version: 9.0.x
27+
dotnet-version: 10.0.x
28+
global-json-file: './global.json'
2829

2930
- name: Restore dependencies
3031
run: dotnet restore
@@ -39,7 +40,7 @@ jobs:
3940
run: dotnet test -c Release --no-build --verbosity normal --logger GitHubActions
4041

4142
- name: Upload coverage reports to Codecov
42-
uses: codecov/codecov-action@v5
43+
uses: codecov/codecov-action@v5.5.2
4344
with:
4445
token: ${{ secrets.CODECOV_TOKEN }}
4546

AsyncMemoryCache.slnx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<File Path=".editorconfig" />
44
<File Path=".github/workflows/build.yml" />
55
<File Path="GitVersion.yml" />
6+
<File Path="global.json" />
67
<File Path="README.md" />
78
</Folder>
89
<Project Path="AsyncMemoryCache.Tests/AsyncMemoryCache.Tests.csproj" />

global.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"test": {
3+
"runner": "Microsoft.Testing.Platform"
4+
}
5+
}

0 commit comments

Comments
 (0)