Skip to content

Commit cdab28c

Browse files
Add GitHub Actions build workflow for PR verification
Co-authored-by: jamesmontemagno <1676321+jamesmontemagno@users.noreply.github.com>
1 parent 8e812e8 commit cdab28c

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Build
2+
3+
on:
4+
pull_request:
5+
branches: [ main ]
6+
push:
7+
branches: [ main ]
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
- name: Setup .NET
20+
uses: actions/setup-dotnet@v4
21+
with:
22+
dotnet-version: '10.0.x'
23+
24+
- name: Restore dependencies
25+
run: dotnet restore src/TinyShop.sln
26+
27+
- name: Build
28+
run: dotnet build src/TinyShop.sln --no-restore --configuration Release

0 commit comments

Comments
 (0)