File tree Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Original file line number Diff line number Diff line change 1- name : Build And Test
1+ name : Build and Test
22
33on :
44 push :
5- branches : [ master ]
5+ branches : [master]
66 pull_request :
7- branches : [ master ]
7+ branches : [master]
88
9- jobs :
10- buildAndTest :
9+ jobs :
10+ build-and-test :
1111 runs-on : ubuntu-latest
1212 steps :
13- - uses : actions/checkout@v2
14-
15- - name : Setup .NET Core
13+ - uses : actions/checkout@v3
14+
15+ - name : Setup .NET
1616 uses : actions/setup-dotnet@v3
1717 with :
18- dotnet-version : ' 7.0.400 '
19-
20- - name : Install dependencies
18+ dotnet-version : 8.x
19+
20+ - name : Restore dependencies
2121 run : dotnet restore
22-
23- - name : Initialize Testing Stack
24- run : docker-compose up -d
25-
22+
2623 - name : Build
2724 run : dotnet build --configuration Release --no-restore
28-
25+
26+ - name : Initialize Testing Stack
27+ run : docker-compose up -d
28+
2929 - name : Test
3030 run : dotnet test --no-restore
You can’t perform that action at this time.
0 commit comments