Skip to content

Commit 8699070

Browse files
committed
2 parents a980584 + 243fada commit 8699070

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

.github/workflows/dotnet.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: .NET
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
build-and-test:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v4
16+
17+
- name: Setup .NET
18+
uses: actions/setup-dotnet@v4
19+
with:
20+
dotnet-version: 8.0.x
21+
cache: true
22+
23+
- name: Restore
24+
run: dotnet restore Atm.sln
25+
26+
- name: Build
27+
run: dotnet build Atm.sln -c Release --no-restore
28+
29+
- name: Test
30+
run: dotnet test Atm.sln -c Release --no-build --verbosity normal

0 commit comments

Comments
 (0)