Skip to content

Bump System.Diagnostics.DiagnosticSource from 7.0.2 to 8.0.0 #133

Bump System.Diagnostics.DiagnosticSource from 7.0.2 to 8.0.0

Bump System.Diagnostics.DiagnosticSource from 7.0.2 to 8.0.0 #133

name: ScheduledJobs CI
on:
workflow_dispatch:
push:
branches: [master]
paths:
- src/Pilgaard.ScheduledJobs/**
- tests/Pilgaard.ScheduledJobs.Tests/**
- tests/ApiApprovalTests.cs
- .github/workflows/scheduledjobs_ci.yml
- Directory.Build.props
pull_request:
branches: [master]
paths:
- src/Pilgaard.ScheduledJobs/**
- tests/Pilgaard.ScheduledJobs.Tests/**
- tests/ApiApprovalTests.cs
- .github/workflows/scheduledjobs_ci.yml
- Directory.Build.props
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup dotnet 7.0
uses: actions/setup-dotnet@v3
with:
dotnet-version: "7.0.x"
- name: Restore NuGet packages
run: |
dotnet restore ./src/Pilgaard.ScheduledJobs/Pilgaard.ScheduledJobs.csproj &&
dotnet restore ./tests/Pilgaard.ScheduledJobs.Tests/Pilgaard.ScheduledJobs.Tests.csproj
- name: Build
run: |
dotnet build ./src/Pilgaard.ScheduledJobs/Pilgaard.ScheduledJobs.csproj --no-restore &&
dotnet build ./tests/Pilgaard.ScheduledJobs.Tests/Pilgaard.ScheduledJobs.Tests.csproj --no-restore
- name: Run Test
run: dotnet test ./tests/Pilgaard.ScheduledJobs.Tests/Pilgaard.ScheduledJobs.Tests.csproj --no-build --no-restore