File tree Expand file tree Collapse file tree 2 files changed +26
-9
lines changed
Expand file tree Collapse file tree 2 files changed +26
-9
lines changed Original file line number Diff line number Diff line change 11name : CI
22
3- on : [push, pull_request]
3+ on :
4+ pull_request :
5+ branches :
6+ - main
7+ push :
8+ branches :
9+ - main
10+ workflow_dispatch :
411
512jobs :
613 test :
714 name : Run tests
815 strategy :
916 matrix :
10- os : [ubuntu-latest , windows-latest , macos-latest ]
17+ os : [ubuntu-24.04 , windows-2022 , macos-13 ]
1118 runs-on : ${{ matrix.os }}
1219 steps :
13- - uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # 2.3.5
14- - uses : actions/setup-dotnet@6bd8b7f7774af54e05809fcc5431931b3eb1ddee # 1.8.0
20+ - name : Checkout code
21+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
22+
23+ - name : Setup .NET
24+ uses : actions/setup-dotnet@3951f0dfe7a07e2313ec93c75700083e2005cbab
1525 with :
1626 dotnet-version : 5.0.202
17- - run : dotnet test
27+
28+ - name : Run tests
29+ run : dotnet test
Original file line number Diff line number Diff line change @@ -2,15 +2,20 @@ name: Publish
22
33on :
44 push :
5- branches : [main]
5+ branches :
6+ - main
7+ workflow_dispatch :
68
79jobs :
810 publish :
911 name : Publish NuGet package
10- runs-on : ubuntu-20 .04
12+ runs-on : ubuntu-24 .04
1113 steps :
12- - uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # 2.3.5
13- - uses : rohith/publish-nuget@c12b8546b67672ee38ac87bea491ac94a587f7cc # 2.5.5
14+ - name : Checkout code
15+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
16+
17+ - name : Publish NuGet package
18+ uses : rohith/publish-nuget@c12b8546b67672ee38ac87bea491ac94a587f7cc
1419 with :
1520 PROJECT_FILE_PATH : src/Exercism.Tests/Exercism.Tests.csproj
1621 NUGET_KEY : ${{ secrets.NUGET_API_KEY }}
You can’t perform that action at this time.
0 commit comments