Skip to content

Feat/service task #2545

Feat/service task

Feat/service task #2545

Workflow file for this run

name: Build and Test on windows, macos and ubuntu
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
types: [opened, synchronize, reopened]
workflow_dispatch:
jobs:
analyze:
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
name: Run dotnet build and test
runs-on: ${{ matrix.os}}
env:
DOTNET_HOSTBUILDER__RELOADCONFIGONCHANGE: false
steps:
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
8.0.x
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Build
run: |
dotnet build AppLibDotnet.sln -v m
- name: Test
run: |
dotnet test AppLibDotnet.sln -v m --no-restore --no-build