Skip to content

Merge pull request #1 from Vazovsk1y/development #3

Merge pull request #1 from Vazovsk1y/development

Merge pull request #1 from Vazovsk1y/development #3

name: Build and Test.
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master", "development" ]
env:
BUILD_MODE: Release
SOLUTION_NAME : Serilog.FluentDestructuring.sln
jobs:
build_and_test:
runs-on: ubuntu-latest
steps:
- name: Checkout.
uses: actions/checkout@v4
- name: Install .NET.
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Restore dependencies.
run: dotnet restore
- name: Build.
run: dotnet build ${{ env.SOLUTION_NAME }} --configuration ${{ env.BUILD_MODE }} --no-restore
- name: Test.
run: dotnet test ${{ env.SOLUTION_NAME }} --no-build --verbosity normal --configuration ${{ env.BUILD_MODE }}