-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bit of cleanup, also fix checkout for submodule
- Loading branch information
1 parent
5d2f5a4
commit a043795
Showing
2 changed files
with
22 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,25 @@ | ||
name: Validate dev branch | ||
name: Validate Dev Branch | ||
|
||
on: | ||
push: | ||
# https://stackoverflow.com/questions/58139406/only-run-job-on-specific-branch-with-github-actions | ||
branches: | ||
- dev | ||
branches: [ 'dev' ] | ||
|
||
jobs: | ||
validate: | ||
runs-on: windows-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4.1.1 | ||
- uses: actions/setup-dotnet@v3.2.0 | ||
- name: Checkout + submodules | ||
uses: actions/checkout@v4.1.1 | ||
with: | ||
submodules: true | ||
|
||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v3.2.0 | ||
with: | ||
dotnet-version: '7.0.x' | ||
|
||
# https://stackoverflow.com/a/70552262/14582 | ||
- run: dotnet test --nologo -l:"console;verbosity=normal" | ||
- name: Run tests | ||
run: | | ||
dotnet test --nologo -l:"console;verbosity=normal" |