Skip to content

Commit ebf3fe1

Browse files
committed
Add samples projects to a solution
This starts the process of refactoring the samples to not be inline. Instead, this change creates a solution that the samples are added to in order to validate they are correct (and enable refactoring much easier in the future). This adds a script in the samples directory that helps scaffold out a new sample project.
1 parent a991ece commit ebf3fe1

16 files changed

+596
-923
lines changed

.github/workflows/samples.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Samples compilation
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+
14+
steps:
15+
- uses: actions/checkout@v3
16+
- name: Setup .NET
17+
uses: actions/setup-dotnet@v3
18+
with:
19+
dotnet-version: 8.x
20+
- name: Build
21+
run: dotnet build samples/samples.sln /p:TreatWarningsAsErrors=true

docs/how-to-accept-all-revisions-in-a-word-processing-document.md

Lines changed: 31 additions & 330 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)