-
-
Notifications
You must be signed in to change notification settings - Fork 67
46 lines (43 loc) · 1.07 KB
/
ci.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
name: Build
on:
push:
branches:
- master
pull_request:
branches:
- master
env:
DOTNET_CLI_TELEMETRY_OPTOUT: 1
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
jobs:
job:
strategy:
matrix:
include:
- os: ubuntu-20.04
artifact-name: Linux
#- os: macos-11
# artifact-name: Darwin
#- os: windows-2022
# artifact-name: Win64
runs-on: ${{ matrix.os }}
continue-on-error: true
steps:
- name: checkout repo
uses: actions/checkout@v4
- name: Install .NET 6.0.x
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: Install .NET 7.0.x
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
- name: Install .NET 8.0.x
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Display dotnet info
run: dotnet --list-sdks
- name: Run tests
run: dotnet test src/ReverseMarkdown.Test/ReverseMarkdown.Test.csproj --framework net8.0