Update dotnet.yml

This commit is contained in:
Melnik Alexander 2022-06-12 13:21:50 +03:00 committed by GitHub
parent 294fb85716
commit 247642b39e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,8 +3,6 @@ name: .NET
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
@ -18,8 +16,8 @@ jobs:
with:
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore
run: dotnet restore ./src
- name: Build
run: dotnet build --no-restore
run: dotnet build ./src --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
run: dotnet test ./src --no-build --verbosity normal