Skip to content

Commit 0c8e7ac

Browse files
committed
Add .github directory with dependabot, sponsors, and pull request workflow.
1 parent f56e935 commit 0c8e7ac

File tree

3 files changed

+30
-0
lines changed

3 files changed

+30
-0
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github: CodingFlow

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "nuget"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"

.github/workflows/pull-request.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: pull-request-unit-tests
2+
run-name: Unit tests
3+
on: [push, workflow_dispatch]
4+
jobs:
5+
build:
6+
name: Unit tests
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
dotnet-version: ["10.0.x"]
11+
12+
steps:
13+
- uses: actions/checkout@v4
14+
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
15+
uses: actions/setup-dotnet@v4
16+
with:
17+
dotnet-version: ${{ matrix.dotnet-version }}
18+
- name: Install dependencies
19+
run: dotnet restore
20+
- name: Build
21+
run: dotnet build --configuration Release --no-restore
22+
- name: Test
23+
run: dotnet test --no-restore --verbosity normal

0 commit comments

Comments
 (0)