Skip to content

Commit 509f4a0

Browse files
committed
chore: Update GitHub workflows to install .NET 8
1 parent 73a1ff1 commit 509f4a0

File tree

6 files changed

+28
-17
lines changed

6 files changed

+28
-17
lines changed

.github/workflows/bigtable-conformance.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ jobs:
3535
path: cloud-bigtable-clients-test
3636
- uses: actions/setup-dotnet@v4
3737
with:
38-
dotnet-version: 6.0.x
38+
dotnet-version: |
39+
6.0.x
40+
8.0.x
3941
- uses: actions/setup-go@v5
4042
with:
4143
go-version: '>=1.20.2'

.github/workflows/build-pr.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,12 @@ jobs:
1818
submodules: true
1919
fetch-depth: 100
2020

21-
- name: Setup .NET 6.0
22-
uses: actions/setup-dotnet@v4
21+
- name: Setup .NET
22+
- uses: actions/setup-dotnet@v4
2323
with:
24-
dotnet-version: 6.0.x
24+
dotnet-version: |
25+
6.0.x
26+
8.0.x
2527
2628
# The GitHub checkout action leaves the repo in a slightly awkward
2729
# state. This tidies it up.

.github/workflows/build-push.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@ jobs:
1717
with:
1818
submodules: true
1919

20-
- name: Setup .NET 6.0
21-
uses: actions/setup-dotnet@v4
20+
- name: Setup .NET
21+
- uses: actions/setup-dotnet@v4
2222
with:
23-
dotnet-version: 6.0.x
23+
dotnet-version: |
24+
6.0.x
25+
8.0.x
2426
2527
- name: Build and test
2628
run: |

.github/workflows/diff-pr.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,12 @@ jobs:
2727
git checkout -b main ${{ github.event.pull_request.base.sha }}
2828
git checkout pr-head
2929
30-
- name: Setup .NET 6.0
31-
uses: actions/setup-dotnet@v4
30+
- name: Setup .NET
31+
- uses: actions/setup-dotnet@v4
3232
with:
33-
dotnet-version: 6.0.x
33+
dotnet-version: |
34+
6.0.x
35+
8.0.x
3436
3537
- name: Detect PR changes
3638
env:

.github/workflows/spanner-emulator-pr-push.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,12 @@ jobs:
2727
with:
2828
submodules: true
2929

30-
# Install .NET 6 for building
31-
- name: Setup .NET 6.0
32-
uses: actions/setup-dotnet@v4
30+
- name: Setup .NET
31+
- uses: actions/setup-dotnet@v4
3332
with:
34-
dotnet-version: 6.0.x
33+
dotnet-version: |
34+
6.0.x
35+
8.0.x
3536
3637
- name: Spanner Emulator
3738
env:

.github/workflows/storage-retry-conformance.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,12 @@ jobs:
2828
with:
2929
submodules: true
3030

31-
- name: Setup .NET 6.0
32-
uses: actions/setup-dotnet@v4
31+
- name: Setup .NET
32+
- uses: actions/setup-dotnet@v4
3333
with:
34-
dotnet-version: 6.0.x
34+
dotnet-version: |
35+
6.0.x
36+
8.0.x
3537
3638
- run: dotnet test Google.Cloud.Storage.V1.RetryConformanceTests.csproj
3739
env:

0 commit comments

Comments
 (0)