Skip to content

PR Validation

PR Validation #148

Workflow file for this run

name: PR Validation
on:
pull_request:
branches: [ dev, main ]
# Run every biweekly to discover failures due to environment changes
schedule:
- cron: '0 0 1,15 * *'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build-and-test:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Run build and tests
run: ./Build.ps1
- name: Upload binaries artifact for InferSharp workflow
uses: actions/upload-artifact@v3
with:
name: bin-net6
path: src\Serilog.Sinks.MSSqlServer\bin\Release\net6.0
- name: Upload testresults artifact with code coverage file
uses: actions/upload-artifact@v3
with:
name: testresults
path: test\Serilog.Sinks.MSSqlServer.Tests\TestResults