Skip to content

should not miss late fires #255

should not miss late fires

should not miss late fires #255

Workflow file for this run

name: CI
on:
push:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: "7.0.400"
- 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"
- name: Codecov
uses: codecov/codecov-action@v3
publish_packages:
needs: test
runs-on: ubuntu-latest
env:
ContinuousIntegrationBuild: true
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: "6.0"
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: "7.0.400"
- name: Restore dependencies
run: dotnet restore
- name: Restore tools
run: dotnet tool restore
- name: Build
run: dotnet build --configuration Release --no-restore --version-suffix="ci.${GITHUB_RUN_NUMBER}"
- name: Validate
run: Get-Item pkgs/*.nupkg |% { dotnet tool run dotnet-validate package local $_ }
shell: pwsh