Protocol Buffers - Google's data interchange format (grpc依赖)
https://developers.google.com/protocol-buffers/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
783 B
31 lines
783 B
2 years ago
|
name: C# Tests
|
||
|
|
||
|
on:
|
||
|
workflow_call:
|
||
|
inputs:
|
||
|
safe-checkout:
|
||
|
required: true
|
||
|
description: "The SHA key for the commit we want to run over"
|
||
|
type: string
|
||
|
|
||
|
jobs:
|
||
|
windows:
|
||
|
name: Windows
|
||
|
runs-on: windows-2019
|
||
|
steps:
|
||
|
- name: Checkout pending changes
|
||
|
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
|
||
|
with:
|
||
|
ref: ${{ inputs.safe-checkout }}
|
||
|
|
||
|
- name: Setup dotnet
|
||
|
uses: actions/setup-dotnet@607fce577a46308457984d59e4954e075820f10a # v3.0.3
|
||
|
with:
|
||
|
dotnet-version: '6.0.x'
|
||
|
|
||
|
- name: Build
|
||
|
run: dotnet build csharp/src/Google.Protobuf.sln
|
||
|
|
||
|
- name: Run Tests
|
||
|
run: dotnet test csharp/src/Google.Protobuf.Test/Google.Protobuf.Test.csproj
|