Skip to content

Commit fc06c10

Browse files
authored
Create dotnet.yml
1 parent 802484b commit fc06c10

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

.github/workflows/dotnet.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: .NET
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
dotnet-version: [ '3.1.x', '5.0.x' ]
16+
17+
steps:
18+
- uses: actions/checkout@v2
19+
- name: Setup .NET
20+
uses: actions/setup-dotnet@v1
21+
- name: Restore dependencies
22+
run: dotnet restore ./Src/VirtualFileSystem.sln
23+
- name: Build
24+
run: dotnet build --no-restore ./Src/VirtualFileSystem.sln
25+
- name: Test
26+
run: dotnet test --no-build --verbosity normal ./Src/VirtualFileSystem.sln

0 commit comments

Comments
 (0)