Skip to content

Commit 8e3dcab

Browse files
Update ci.yml
1 parent feacfb1 commit 8e3dcab

File tree

1 file changed

+13
-17
lines changed

1 file changed

+13
-17
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,21 @@
1-
name: .NET
1+
name: Build LazyProxy.Autofac
22

33
on:
4-
push:
5-
branches: [ master ]
6-
pull_request:
7-
branches: [ master ]
4+
- push
5+
- pull_request
6+
- workflow_dispatch
87

98
jobs:
109
build:
11-
1210
runs-on: ubuntu-latest
1311

1412
steps:
15-
- uses: actions/checkout@v2
16-
- name: Setup .NET
17-
uses: actions/setup-dotnet@v1
18-
with:
19-
dotnet-version: 3.1.101
20-
- name: Restore dependencies
21-
run: dotnet restore
22-
- name: Build
23-
run: dotnet build --no-restore
24-
- name: Test
25-
run: dotnet test ./LazyProxy.Autofac.Tests/LazyProxy.Autofac.Tests.csproj --no-build --verbosity normal
13+
- uses: actions/checkout@v1
14+
- name: Setup .NET Core 3.1.101
15+
uses: actions/setup-dotnet@v1
16+
with:
17+
dotnet-version: 3.1.101
18+
- name: Build
19+
run: find . -type f \( -iname "*.csproj" \) | xargs -n1 dotnet build
20+
- name: Test
21+
run: dotnet test ./LazyProxy.Autofac.Tests/LazyProxy.Autofac.Tests.csproj --no-build --verbosity normal

0 commit comments

Comments
 (0)