Skip to content

feat: enhance task deletion API and CI configuration, add dependabot and update documentation #16

feat: enhance task deletion API and CI configuration, add dependabot and update documentation

feat: enhance task deletion API and CI configuration, add dependabot and update documentation #16

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
name: Test (.NET ${{ matrix.dotnet-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
dotnet-version:
- '8.0' # LTS - supported until November 2026
- '9.0' # STS - supported until May 2026
- '10.0' # LTS - latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET (all versions for multi-targeting)
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
8.0
9.0
10.0
- name: Restore
run: dotnet restore src/NetFramework.Task.Management.sln
- name: Build
run: dotnet build src/NetFramework.Task.Management.sln --configuration Release --no-restore
- name: Test on .NET ${{ matrix.dotnet-version }}
run: |
dotnet test src/NetFramework.Tasks.Management.xUnit.Tests/ \
--configuration Release \
--no-build \
--framework net${{ matrix.dotnet-version }} \
--logger "console;verbosity=normal" \
--collect:"XPlat Code Coverage" \
--results-directory ./coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
directory: ./coverage
flags: net${{ matrix.dotnet-version }}
fail_ci_if_error: false