-
Notifications
You must be signed in to change notification settings - Fork 1
55 lines (45 loc) · 1.07 KB
/
checks.yaml
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
44
45
46
47
48
49
50
51
52
53
54
55
name: Check
on:
#push:
pull_request:
schedule:
- cron: '0 3 * * *'
jobs:
build:
strategy:
matrix:
os:
- name: macos-latest
run: ./build.sh
- name: ubuntu-latest
run: ./build.sh
- name: windows-latest
run: ./build.cmd
dotnet: [8.0.100]
runs-on: ${{ matrix.os.name }}
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{ matrix.dotnet }}
- name: Restore tools
run: dotnet tool restore
- name: Run tests
run: ${{ matrix.os.run }}
tests:
strategy:
matrix:
os:
- name: macos-latest
run: ./build.sh
dotnet: [8.0.100]
runs-on: ${{ matrix.os.name }}
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{ matrix.dotnet }}
- name: Run tests
run: ${{ matrix.os.run }} -t tests