-
-
Notifications
You must be signed in to change notification settings - Fork 46
42 lines (33 loc) · 777 Bytes
/
dotnet.yml
File metadata and controls
42 lines (33 loc) · 777 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
31
32
33
34
35
36
37
38
39
40
41
42
name: dotnet
on:
push:
branches: [ master ]
paths:
- .github/workflows/dotnet.yml
- src/**
- '!src/SampSharp/**'
- SampSharp.sln
- Makefile
pull_request:
branches: [ master ]
paths:
- .github/workflows/dotnet.yml
- src/**
- '!src/SampSharp/**'
- SampSharp.sln
- Makefile
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore SampSharp.sln
- name: Build
run: dotnet build SampSharp.sln --no-restore
- name: Test
run: dotnet test SampSharp.sln --no-build --verbosity normal