Files
Watermark.Net/.github/workflows/dotnet.yml
2025-07-25 21:30:02 +03:00

29 lines
551 B
YAML

name: .NET
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore UnitTest/UnitTest.csproj
- name: Build
run: dotnet build UnitTest/UnitTest.csproj --no-restore
- name: Test
run: dotnet test UnitTest/UnitTest.csproj --no-build --verbosity normal