29 lines
564 B
YAML
29 lines
564 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: windows-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Setup .NET
|
|
uses: actions/setup-dotnet@v4
|
|
with:
|
|
dotnet-version: '8.0.x'
|
|
|
|
- name: Restore
|
|
run: dotnet restore WebhookServer.sln
|
|
|
|
- name: Build
|
|
run: dotnet build WebhookServer.sln -c Release --no-restore
|
|
|
|
- name: Test
|
|
run: dotnet test WebhookServer.sln -c Release --no-build --verbosity normal
|