Skip to content

Merge pull request #69 from ndsvw/dependabot/nuget/MSTest-3.4.3 #225

Merge pull request #69 from ndsvw/dependabot/nuget/MSTest-3.4.3

Merge pull request #69 from ndsvw/dependabot/nuget/MSTest-3.4.3 #225

Workflow file for this run

name: .NET
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build (Debug)
run: dotnet build --no-restore
- name: Build (Release)
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal --collect:"XPlat Code Coverage"
- name: Benchmark
run: dotnet run -c Release --project FluentRandomPicker.Benchmarks/FluentRandomPicker.Benchmarks.csproj
- name: Codecov
uses: codecov/codecov-action@v3