-
Notifications
You must be signed in to change notification settings - Fork 145
43 lines (36 loc) · 1.01 KB
/
validation.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: Validation
on:
schedule:
- cron: 30 0/4 * * *
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
if: github.repository == 'wabbajack-tools/mod-lists'
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core SDK 8.0.x
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0.x'
include-prerelease: true
- name: Setup .NET Core SDK 7.0.x
uses: actions/setup-dotnet@v1
with:
dotnet-version: '7.0.x'
include-prerelease: true
- name: Setup .NET Core SDK 6.0.x
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'
include-prerelease: true
- name: Restore dependencies
run: dotnet restore Validation/Validation.sln
- name: Build
run: dotnet build Validation/Validation.sln --no-restore
- name: Test
run: dotnet test Validation/Validation.sln --no-build --verbosity normal