feat | fix | breaking: updates CopilotSeatDetails[CopilotSeatDetails_organization > NullableOrganizationSimple], [CopilotSeatDetails_assignee > SimpleUser], fixes many previously unknown types, fixes check run discriminator to evaluate status, fixes content discriminator to evaluate type #212
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Build and test .NET SDK" | |
on: | |
pull_request: | |
workflow_dispatch: | |
push: | |
branches: | |
- 3.12 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: '8.x.x' | |
- name: Build the project | |
run: dotnet build src/GitHub.Octokit.GHES.SDK.csproj | |
- name: Format | |
run: dotnet format --verify-no-changes | |
- name: Test SDK | |
run: dotnet test -p:CollectCoverage=true -p:CoverletOutput=TestResults/ -p:CoverletOutputFormat=opencover -p:ExcludeByFile="**/GitHub/**/*.cs" | |
- name: Build and strong name sign | |
run: dotnet build src/GitHub.Octokit.GHES.SDK.csproj --no-incremental /p:SignAssembly=true /p:AssemblyOriginatorKeyFile=../key.snk |