Skip to content

Commit f0961be

Browse files
committed
Update build and test workflow
1 parent 52e04d9 commit f0961be

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed
Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
1-
name: Build And Test
1+
name: Build and Test
22

33
on:
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

0 commit comments

Comments
 (0)