Skip to content

Commit ff168ac

Browse files
ci: Add basic initial GitHub Actions workflow for PR validation (WIP)
1 parent cf30ab4 commit ff168ac

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: PR Validation
2+
on:
3+
pull_request:
4+
branches: [ "master" ]
5+
6+
jobs:
7+
build:
8+
name: PR Validation
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v4
13+
14+
- name: Set up .NET Core
15+
uses: actions/setup-dotnet@v4
16+
with:
17+
dotnet-version: 10.0
18+
19+
- name: dotnet format
20+
run: dotnet format -v detailed --verify-no-changes
21+
22+
- name: Build with dotnet
23+
run: dotnet build --configuration Release
24+
25+
- name: dotnet test
26+
run: dotnet test --configuration Release --no-build

0 commit comments

Comments
 (0)