Skip to content

chore: minor refactoring #2773

chore: minor refactoring

chore: minor refactoring #2773

Workflow file for this run

name: Build
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
# Avoid shallow clone for Nerdbank.GitVersioning
fetch-depth: 0
- uses: dotnet/nbgv@master
id: nbgv
with:
setAllVars: true
setCommonVars: true
- run: "echo 'SemVer2: ${{ steps.nbgv.outputs.SemVer2 }}'"
- name: Setup .NET 8.0
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.0.x'
dotnet-quality: 'ga'
- name: Install WASM tools
run: dotnet workload install wasm-tools
- name: Restore NuGet Packages & Tools
run: dotnet run --project build -c Release --no-launch-profile -- restore restore-tools
- name: Build
run: dotnet run --project build -c Release --no-launch-profile -- --configuration Debug --framework net8.0 build
- name: Run tests
run: dotnet run --project build -c Release --no-launch-profile -- --configuration Debug --framework net8.0 coverage
- name: Codecov
uses: codecov/[email protected]
with:
name: codecov-bot
file: artifacts/tests/output/*.xml
flags: unit
# fail_ci_if_error: true