CreamInstaller/.github/workflows/dotnet.yml

33 lines
592 B
YAML
Raw Normal View History

name: .NET
2021-08-09 15:37:25 +05:00
2021-08-09 15:07:41 +05:00
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
2021-08-09 17:21:14 +05:00
test:
name: Test
2021-08-09 15:12:38 +05:00
runs-on: windows-latest
2021-08-09 15:07:41 +05:00
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup .NET
2021-08-09 15:07:41 +05:00
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.x
- name: Restore Project
run: dotnet restore
- name: Build Project
2021-08-09 16:52:48 +05:00
run: dotnet build --no-restore --configuration Release
- name: Test Project
2021-08-09 16:52:48 +05:00
run: dotnet test --no-build --verbosity normal --configuration Release