Create dotnet.yml

This commit is contained in:
Dmitri Shimanski
2025-03-19 11:31:53 +02:00
committed by GitHub
parent 1a8a999d5b
commit 5bfad37f53

23
.github/workflows/dotnet.yml vendored Normal file
View File

@@ -0,0 +1,23 @@
name: .NET Tests
on:
push:
branches: [ "*" ]
pull_request:
branches: [ "*" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 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