Skip to content

Merge pull request #71 from ZUOXIANGE/dependabot/nuget/TUnit-1.15.0 #174

Merge pull request #71 from ZUOXIANGE/dependabot/nuget/TUnit-1.15.0

Merge pull request #71 from ZUOXIANGE/dependabot/nuget/TUnit-1.15.0 #174

Workflow file for this run

name: .NET Build and Test
on:
schedule:
- cron: '0 0 * * *'
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: 10.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
test:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: 10.0.x
- name: Test
run: dotnet test --verbosity normal