forked from Blessing-Studio/WonderLab.Override
-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (41 loc) · 977 Bytes
/
CI-Check.yml
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
43
name: CI-Check
on:
workflow_dispatch:
push:
branches: [ "feature" ]
pull_request:
types:
- opened
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
dotnet-version: "8.0"
target-version: "net8.0"
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive
- name: "Setup Dotnet"
uses: "actions/setup-dotnet@v3"
with:
dotnet-version: "${{env.dotnet-version}}"
- name: Test
run: dotnet test WonderLab.Desktop/WonderLab.Desktop.csproj
test_build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive
- name: "Setup Dotnet"
uses: "actions/setup-dotnet@v3"
with:
dotnet-version: "${{env.dotnet-version}}"
- name: Test
run: dotnet build WonderLab.Desktop/WonderLab.Desktop.csproj