Use a dedicated icon for the optional "[in,out]" elements in the @par… #128
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: build and tests | |
on: | |
push: | |
# Trigger workflow for commits only, not for tags. | |
branches: | |
- '**' | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build_and_test: | |
runs-on: windows-2022 | |
timeout-minutes: 20 | |
steps: | |
- uses: actions/checkout@v4.1.4 | |
- name: Setup MSBuild | |
uses: microsoft/setup-msbuild@v2 | |
- name: Setup VSTest | |
uses: darenm/Setup-VSTest@v1.3 | |
- name: Setup NuGet | |
uses: NuGet/setup-nuget@v2.0.0 | |
- name: Restore dependencies | |
run: nuget restore VSDoxyHighlighter.sln | |
- name: Build solution | |
run: msbuild /m /p:Configuration="Release" /p:platform="Any CPU" VSDoxyHighlighter.sln | |
- name: Upload VSIX file | |
uses: actions/upload-artifact@v4.3.3 | |
with: | |
name: ReleaseVSIX | |
path: VSDoxyHighlighter/bin/Release/*.vsix | |
if-no-files-found: error | |
- name: Run tests | |
run: vstest.console.exe .\Tests\bin\Release\Tests.dll |