Skip to content

Bump Microsoft.NET.Test.Sdk from 18.0.1 to 18.4.0 #378

Bump Microsoft.NET.Test.Sdk from 18.0.1 to 18.4.0

Bump Microsoft.NET.Test.Sdk from 18.0.1 to 18.4.0 #378

name: Build & Tests
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build-tests:
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, macos-15-intel, ubuntu-latest]
steps:
- uses: actions/checkout@v6
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: |
9.0.x
10.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal --collect:"XPlat Code Coverage" --settings coverlet.runsettings
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}