Skip to content

GitHub Apps Proof-of-Concept #219

GitHub Apps Proof-of-Concept

GitHub Apps Proof-of-Concept #219

Workflow file for this run

name: "Build and test .NET SDK"
on:
pull_request:
workflow_dispatch:
push:
branches:
- "main"
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: Format
run: dotnet format --verify-no-changes
- name: Build and strong name sign
run: dotnet build --no-incremental /p:SignAssembly=true /p:AssemblyOriginatorKeyFile=../key.snk
- name: Test SDK
run: dotnet test -p:CollectCoverage=true -p:CoverletOutput=TestResults/ -p:CoverletOutputFormat=opencover -p:ExcludeByFile="**/GitHub/**/*.cs"