Skip to content

Commit 4a8c6b3

Browse files
committed
Ensure .NET9 installed on runner
1 parent c0fbfae commit 4a8c6b3

10 files changed

+53
-17
lines changed

.github/workflow-gen/Program.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,9 @@ public static void EnvDefaults(this Workflow workflow)
180180
("DOTNET_CLI_TELEMETRY_OPTOUT", "true"));
181181

182182
public static void StepSetupDotNet(this Job job)
183-
=> job.Step()
184-
.Name("Setup .NET")
185-
.ActionsSetupDotNet("8.0.x");
183+
=> job.Step()
184+
.Name("Setup .NET")
185+
.ActionsSetupDotNet(["6.0.x", "8.0.x", "9.0.x"]);
186186

187187
public static Step IfRefMain(this Step step)
188188
=> step.If("github.ref == 'refs/heads/main'");

.github/workflow-gen/workflow-gen.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<PackageReference Include="Logicality.GitHub.Actions.Workflow" Version="0.5.0" />
13-
<PackageReference Include="Logicality.GitHub.Actions.Workflow.Extensions" Version="0.5.0" />
12+
<PackageReference Include="Logicality.GitHub.Actions.Workflow" Version="0.5.1" />
13+
<PackageReference Include="Logicality.GitHub.Actions.Workflow.Extensions" Version="0.5.1" />
1414
</ItemGroup>
1515

1616
</Project>

.github/workflows/access-token-management-ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ jobs:
3131
- name: Setup Dotnet
3232
uses: actions/setup-dotnet@v4
3333
with:
34-
dotnet-version: 8.0.x
34+
dotnet-version: |-
35+
6.0.x
36+
8.0.x
37+
9.0.x
3538
- name: Test - AccessTokenManagement.Tests
3639
run: dotnet test -c Release test/AccessTokenManagement.Tests --logger "console;verbosity=normal" --logger "trx;LogFileName=Tests.trx" --collect:"XPlat Code Coverage"
3740
- name: Test report - AccessTokenManagement.Tests

.github/workflows/access-token-management-release.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ jobs:
3131
- name: Setup Dotnet
3232
uses: actions/setup-dotnet@v4
3333
with:
34-
dotnet-version: 8.0.x
34+
dotnet-version: |-
35+
6.0.x
36+
8.0.x
37+
9.0.x
3538
- name: Git tag
3639
run: |-
3740
git config --global user.email "github-bot@duendesoftware.com"
@@ -88,7 +91,10 @@ jobs:
8891
- name: Setup Dotnet
8992
uses: actions/setup-dotnet@v4
9093
with:
91-
dotnet-version: 8.0.x
94+
dotnet-version: |-
95+
6.0.x
96+
8.0.x
97+
9.0.x
9298
- name: List files
9399
run: tree
94100
shell: bash

.github/workflows/identity-model-ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ jobs:
3131
- name: Setup Dotnet
3232
uses: actions/setup-dotnet@v4
3333
with:
34-
dotnet-version: 8.0.x
34+
dotnet-version: |-
35+
6.0.x
36+
8.0.x
37+
9.0.x
3538
- name: Test - IdentityModel.Tests
3639
run: dotnet test -c Release test/IdentityModel.Tests --logger "console;verbosity=normal" --logger "trx;LogFileName=Tests.trx" --collect:"XPlat Code Coverage"
3740
- name: Test report - IdentityModel.Tests

.github/workflows/identity-model-oidc-client-ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ jobs:
3131
- name: Setup Dotnet
3232
uses: actions/setup-dotnet@v4
3333
with:
34-
dotnet-version: 8.0.x
34+
dotnet-version: |-
35+
6.0.x
36+
8.0.x
37+
9.0.x
3538
- name: Test - IdentityModel.OidcClient.Tests
3639
run: dotnet test -c Release test/IdentityModel.OidcClient.Tests --logger "console;verbosity=normal" --logger "trx;LogFileName=Tests.trx" --collect:"XPlat Code Coverage"
3740
- name: Test report - IdentityModel.OidcClient.Tests

.github/workflows/identity-model-oidc-client-release.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ jobs:
3131
- name: Setup Dotnet
3232
uses: actions/setup-dotnet@v4
3333
with:
34-
dotnet-version: 8.0.x
34+
dotnet-version: |-
35+
6.0.x
36+
8.0.x
37+
9.0.x
3538
- name: Git tag
3639
run: |-
3740
git config --global user.email "github-bot@duendesoftware.com"
@@ -88,7 +91,10 @@ jobs:
8891
- name: Setup Dotnet
8992
uses: actions/setup-dotnet@v4
9093
with:
91-
dotnet-version: 8.0.x
94+
dotnet-version: |-
95+
6.0.x
96+
8.0.x
97+
9.0.x
9298
- name: List files
9399
run: tree
94100
shell: bash

.github/workflows/identity-model-release.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ jobs:
3131
- name: Setup Dotnet
3232
uses: actions/setup-dotnet@v4
3333
with:
34-
dotnet-version: 8.0.x
34+
dotnet-version: |-
35+
6.0.x
36+
8.0.x
37+
9.0.x
3538
- name: Git tag
3639
run: |-
3740
git config --global user.email "github-bot@duendesoftware.com"
@@ -86,7 +89,10 @@ jobs:
8689
- name: Setup Dotnet
8790
uses: actions/setup-dotnet@v4
8891
with:
89-
dotnet-version: 8.0.x
92+
dotnet-version: |-
93+
6.0.x
94+
8.0.x
95+
9.0.x
9096
- name: List files
9197
run: tree
9298
shell: bash

.github/workflows/ignore-this-ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ jobs:
3131
- name: Setup Dotnet
3232
uses: actions/setup-dotnet@v4
3333
with:
34-
dotnet-version: 8.0.x
34+
dotnet-version: |-
35+
6.0.x
36+
8.0.x
37+
9.0.x
3538
- name: Test - IgnoreThis.Tests
3639
run: dotnet test -c Release test/IgnoreThis.Tests --logger "console;verbosity=normal" --logger "trx;LogFileName=Tests.trx" --collect:"XPlat Code Coverage"
3740
- name: Test report - IgnoreThis.Tests

.github/workflows/ignore-this-release.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ jobs:
3131
- name: Setup Dotnet
3232
uses: actions/setup-dotnet@v4
3333
with:
34-
dotnet-version: 8.0.x
34+
dotnet-version: |-
35+
6.0.x
36+
8.0.x
37+
9.0.x
3538
- name: Git tag
3639
run: |-
3740
git config --global user.email "github-bot@duendesoftware.com"
@@ -86,7 +89,10 @@ jobs:
8689
- name: Setup Dotnet
8790
uses: actions/setup-dotnet@v4
8891
with:
89-
dotnet-version: 8.0.x
92+
dotnet-version: |-
93+
6.0.x
94+
8.0.x
95+
9.0.x
9096
- name: List files
9197
run: tree
9298
shell: bash

0 commit comments

Comments
 (0)