Bump submodules/vipr from 2c9ed0a
to 35aaacf
(#1083)
#1593
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
name: .NET | |
on: | |
push: | |
branches: [ main, dev ] | |
pull_request: | |
branches: [ main, dev ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Setup .NET | |
uses: actions/[email protected] | |
with: | |
dotnet-version: 7.0.x | |
- name: Restore dependencies | |
run: dotnet restore ./Typewriter.sln | |
- name: Build | |
run: dotnet build ./Typewriter.sln --no-restore | |
- name: Test | |
run: dotnet test ./Typewriter.sln --no-build --verbosity normal | |
- name: Upload languages test output on failure | |
uses: actions/upload-artifact@v3 | |
if: ${{ failure() }} | |
with: | |
name: languages-test-output | |
path: 'test/Typewriter.Test/bin/Debug/net7.0/OutputDirectory*/**' | |
- name: Upload unit test output on failure | |
uses: actions/upload-artifact@v3 | |
if: ${{ failure() }} | |
with: | |
name: unit-test-output | |
path: test/Typewriter.Test/bin/Debug/net7.0/output/ | |
- name: Upload unit test java output on failure | |
uses: actions/upload-artifact@v3 | |
if: ${{ failure() }} | |
with: | |
name: unit-test-output-java | |
path: test/Typewriter.Test/bin/Debug/net7.0/outputJava/ |