@@ -27,26 +27,26 @@ jobs:
2727 - name : Run tests
2828 uses : protocolbuffers/protobuf-ci/docker@v5
2929 with :
30- image : us-docker.pkg.dev/protobuf-build/containers/test/linux/csharp:8 .0.1 -3.1.415-6 .0.100-b77fdae6d4771789dfc66a56bf8d806354e8011a
30+ image : us-docker.pkg.dev/protobuf-build/containers/test/linux/csharp:9 .0.0 -3.1.415-8 .0.100-05b57cb3d33f45f689c1dace146b6b9619d78872
3131 credentials : ${{ secrets.GAR_SERVICE_ACCOUNT }}
3232 entrypoint : /bin/bash
3333 command : >-
3434 -cex "
3535 cd csharp &&
3636 dotnet restore src/Google.Protobuf.sln &&
3737 dotnet build -c Release src/Google.Protobuf.sln &&
38- dotnet test -c Release -f net6 .0 src/Google.Protobuf.Test/Google.Protobuf.Test.csproj"
38+ dotnet test -c Release -f net8 .0 src/Google.Protobuf.Test/Google.Protobuf.Test.csproj"
3939
4040 - name : Clear bazel between docker instances
4141 run : sudo rm -rf _build .repository-cache
4242
4343 - name : Run conformance tests
4444 uses : protocolbuffers/protobuf-ci/bazel-docker@v5
4545 with :
46- image : us-docker.pkg.dev/protobuf-build/containers/test/linux/csharp:8 .0.1 -3.1.415-6 .0.100-b77fdae6d4771789dfc66a56bf8d806354e8011a
46+ image : us-docker.pkg.dev/protobuf-build/containers/test/linux/csharp:9 .0.0 -3.1.415-8 .0.100-05b57cb3d33f45f689c1dace146b6b9619d78872
4747 credentials : ${{ secrets.GAR_SERVICE_ACCOUNT }}
4848 bazel-cache : csharp_linux
49- bazel : test //csharp:conformance_test --action_env=DOTNET_CLI_TELEMETRY_OPTOUT=1 --test_env=DOTNET_CLI_HOME=/home/bazel
49+ bazel : test //csharp:conformance_test --action_env=PATH --action_env= DOTNET_CLI_TELEMETRY_OPTOUT=1 --test_env=DOTNET_CLI_HOME=/home/bazel
5050
5151 windows :
5252 name : Windows
@@ -60,12 +60,12 @@ jobs:
6060 - name : Setup dotnet
6161 uses : actions/setup-dotnet@baa11fbfe1d6520db94683bd5c7a3818018e4309 # v5.1.0
6262 with :
63- dotnet-version : ' 6 .0.x'
63+ dotnet-version : ' 8 .0.x'
6464
6565 - name : Run tests
6666 uses : protocolbuffers/protobuf-ci/bash@v5
6767 with :
68- bazel-version : 8 .0.1
68+ bazel-version : 9 .0.0
6969 credentials : ${{ secrets.GAR_SERVICE_ACCOUNT }}
7070 command : |
7171 dotnet build csharp/src/Google.Protobuf.sln
@@ -85,13 +85,13 @@ jobs:
8585 # (we want to avoid references to ~/.nuget that won't be available in the subsequent docker run)
8686 uses : protocolbuffers/protobuf-ci/docker@v5
8787 with :
88- image : mcr.microsoft.com/dotnet/sdk:6 .0.100-bullseye -slim
88+ image : mcr.microsoft.com/dotnet/sdk:8 .0.100-bookworm -slim
8989 credentials : ${{ secrets.GAR_SERVICE_ACCOUNT }}
9090 command : >-
9191 /bin/bash -cex '
9292 DOTNET_CLI_TELEMETRY_OPTOUT=true
9393 DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true
94- dotnet publish -c Release -f net6 .0 /workspace/csharp/src/Google.Protobuf.Test/Google.Protobuf.Test.csproj'
94+ dotnet publish -c Release -f net8 .0 /workspace/csharp/src/Google.Protobuf.Test/Google.Protobuf.Test.csproj'
9595
9696 - name : Use an actual aarch64 docker image to run protobuf C# tests with an emulator
9797 # "dotnet vstest" allows running tests from a pre-built project.
@@ -102,11 +102,11 @@ jobs:
102102 # we just run map the user's home to a throwaway temporary directory
103103 uses : protocolbuffers/protobuf-ci/docker@v5
104104 with :
105- image : mcr.microsoft.com/dotnet/sdk:6 .0.100-bullseye -slim-arm64v8
105+ image : mcr.microsoft.com/dotnet/sdk:8 .0.100-bookworm -slim-arm64v8
106106 skip-staleness-check : true
107107 credentials : ${{ secrets.GAR_SERVICE_ACCOUNT }}
108108 command : >-
109109 /bin/bash -cex '
110110 DOTNET_CLI_TELEMETRY_OPTOUT=true
111111 DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true
112- dotnet vstest /workspace/csharp/src/Google.Protobuf.Test/bin/Release/net6 .0/publish/Google.Protobuf.Test.dll'
112+ dotnet vstest /workspace/csharp/src/Google.Protobuf.Test/bin/Release/net8 .0/publish/Google.Protobuf.Test.dll'
0 commit comments