Skip to content

Simplify WebView initialization #237

Simplify WebView initialization

Simplify WebView initialization #237

Workflow file for this run

name: Cake Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Add msbuild to PATH
uses: microsoft/[email protected]
- name: ⚙️ Prepare Visual Studio
run: '&"C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\devenv.exe" /RootSuffix Exp /ResetSettings General.vssettings'
- name: Install Cake.Tool
run: dotnet tool install --global Cake.Tool
- name: Restore NuGet packages
run: nuget restore src\Cody.Core\Cody.Core.csproj -PackagesDirectory src\packages
- name: Build Release
run: |
cd src
dotnet tool restore
corepack enable
corepack install --global [email protected]
dotnet cake
- name: Tests
run: |
cd src
dotnet cake --target Tests
dotnet test .\Cody.VisualStudio.Tests\bin\Debug\Cody.VisualStudio.Tests.dll -v detailed