Skip to content

Commit a040a86

Browse files
committed
run build, test and format on all pull requests to main
1 parent 5d344dd commit a040a86

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/verify-pull-request.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,16 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v4
1414

15-
- name: Greet
16-
run: echo Ciao!
15+
- name: Set up .NET Core (version from global.json)
16+
uses: actions/setup-dotnet@v4
17+
with:
18+
global-json-file: global.json
19+
20+
- name: dotnet build
21+
run: dotnet build --configuration Release
22+
23+
- name: dotnet test
24+
run: dotnet test --configuration Release --no-build
25+
26+
- name: dotnet format
27+
run: dotnet format -v detailed --verify-no-changes

0 commit comments

Comments
 (0)