Skip to content

Commit 47a8639

Browse files
committed
github actions
1 parent 3d7c63d commit 47a8639

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

.github/workflows/build.yml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: build
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
strategy:
12+
matrix:
13+
dotnet-version: ['8.0.x']
14+
steps:
15+
- uses: actions/checkout@v2
16+
17+
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
18+
uses: actions/setup-dotnet@v3
19+
with:
20+
dotnet-version: ${{ matrix.dotnet-version }}
21+
22+
- name: Install dependencies
23+
run: dotnet restore src/Danom
24+
25+
- name: Build
26+
run: dotnet build src/Danom -c Release
27+
28+
- name: Test
29+
run: dotnet test test/Danom.Tests -c Release

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Danom
22

3+
[![build](https://github.com/pimbrouwers/Danom/actions/workflows/build.yml/badge.svg)](https://github.com/pimbrouwers/Danom/actions/workflows/build.yml)
4+
35
Danom is a C# library that provides monadic structures to simplify functional programming patterns in C#.
46

57
## Key Features

0 commit comments

Comments
 (0)