Skip to content

Apply refined code style and formatting #69

Apply refined code style and formatting

Apply refined code style and formatting #69

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
buildtest:
runs-on: windows-latest
steps:
- name: Install .NET 6.0
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
- name: Install .NET 7.0
uses: actions/setup-dotnet@v4
with:
dotnet-version: 7.0.x
- name: Install .NET 8.0
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Checkout sources
uses: actions/checkout@v4
- name: Restore packages
run: dotnet restore
- name: Build Debug
run: dotnet build --configuration Debug
- name: Run tests
run: dotnet test --no-build --collect "Code Coverage"
buildrelease:
runs-on: windows-latest
steps:
- name: Install .NET 6.0
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
- name: Install .NET 7.0
uses: actions/setup-dotnet@v4
with:
dotnet-version: 7.0.x
- name: Install .NET 8.0
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Checkout sources
uses: actions/checkout@v4
- name: Restore packages
run: dotnet restore
- name: Build Release
run: dotnet build --configuration Release -p:ContinuousIntegrationBuild=true
- name: Upload NuGet package
uses: actions/upload-artifact@v4
with:
name: nuget
path: bin/lib/*.nupkg
if-no-files-found: error