File tree Expand file tree Collapse file tree 3 files changed +25
-10
lines changed Expand file tree Collapse file tree 3 files changed +25
-10
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ branches : [ "main" ]
6
+ pull_request :
7
+ branches : [ "main" ]
8
+
9
+ jobs :
10
+ test :
11
+ runs-on : ubuntu-latest
12
+ container : mcr.microsoft.com/dotnet/sdk:7.0
13
+
14
+ steps :
15
+ - name : Checkout
16
+ uses : actions/checkout@v3
17
+ - name : Build
18
+ run : ./build.sh
19
+ - name : Test
20
+ run : ./test.sh
21
+
Original file line number Diff line number Diff line change 1
- #! /bin/bash
2
- dotnet --info
1
+ #! /usr/bin/env bash
3
2
dotnet restore
4
-
5
- for path in src/** /* .csproj; do
6
- dotnet build -f netstandard2.0 -c Release ${path}
7
- done
8
-
9
- for path in test/* .Tests/* .csproj; do
10
- dotnet test -f netcoreapp2.0 -c Release ${path}
11
- done
3
+ dotnet build -c Release
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ dotnet test -c Release
You can’t perform that action at this time.
0 commit comments