Skip to content

Revert "Bump codecov/codecov-action from 3 to 4" #558

Revert "Bump codecov/codecov-action from 3 to 4"

Revert "Bump codecov/codecov-action from 3 to 4" #558

Workflow file for this run

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-latest, ubuntu-latest ]
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.x
7.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@v3