-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (34 loc) · 898 Bytes
/
dotnet.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
name: Build F# Nerddeck
on: [push]
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ${{ github.workspace }}/fsharp/NerdDeckFSharp
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '7.0.x'
- name: Build F#
run: dotnet build
test:
runs-on: ubuntu-latest
needs: build
defaults:
run:
working-directory: ${{ github.workspace }}/fsharp/NerdDeckFSharp
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '7.0.x'
- name: Test F#
run: |
echo "## Test results" >> $GITHUB_STEP_SUMMARY
dotnet test --configuration Release -v minimal --no-build