34 lines
645 B
YAML
34 lines
645 B
YAML
name: Run tests on push
|
|
|
|
on:
|
|
push
|
|
|
|
jobs:
|
|
build:
|
|
name: Run tests
|
|
runs-on: windows-latest
|
|
permissions:
|
|
contents: write
|
|
|
|
steps:
|
|
- name: Install VoiceAttack
|
|
uses: alterNERDtive/setup-voiceattack-action@develop
|
|
with:
|
|
version: "1.10"
|
|
|
|
- name: Checkout source code
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Setup .Net
|
|
uses: actions/setup-dotnet@v2
|
|
with:
|
|
dotnet-version: '6.0.x'
|
|
|
|
- name: Restore dependencies
|
|
run: dotnet restore
|
|
|
|
- name: Build
|
|
run: dotnet build -c release
|
|
|
|
- name: Run tests
|
|
run: dotnet test
|