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: on:
push: push:
branches: [ "master" ] branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs: jobs:
build: build:
@ -18,8 +16,8 @@ jobs:
with: with:
dotnet-version: 6.0.x dotnet-version: 6.0.x
- name: Restore dependencies - name: Restore dependencies
run: dotnet restore run: dotnet restore ./src
- name: Build - name: Build
run: dotnet build --no-restore run: dotnet build ./src --no-restore
- name: Test - name: Test
run: dotnet test --no-build --verbosity normal run: dotnet test ./src --no-build --verbosity normal