forked from citizenfx/msgpack-cs
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (21 loc) · 825 Bytes
/
dotnet.yml
File metadata and controls
30 lines (21 loc) · 825 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: Unit Tests
on:
push:
branches: [ "master", "production", "feat/**", "feature/**", "bug/**", "hotfix/**" ]
pull_request:
branches: [ "master", "production", "feat/**", "feature/**", "bug/**", "hotfix/**" ]
jobs:
build:
runs-on: windows-2022 # has .NET Framework 4.8 and 4.8.1
steps:
- uses: actions/checkout@v3
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
- name: Benchmark
run: dotnet run --project MsgPack.Benchmarks/MsgPack.Benchmarks.csproj -c Release