Skip to content

Add default permission to both codeql-analysis and unittest #27

Add default permission to both codeql-analysis and unittest

Add default permission to both codeql-analysis and unittest #27

Workflow file for this run

name: Unit test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
permissions: read-all
jobs:
unittest:
runs-on: windows-2022
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup msbuild
uses: microsoft/[email protected]
- name: Setup VSTest Path
uses: darenm/[email protected]
- name: Build unit test
run: msbuild SimpleComTest\SimpleComTest.vcxproj -property:"Configuration=Debug;Platform=x64"
- name: Run unit test
run: vstest.console.exe /Platform:x64 SimpleComTest\x64\Debug\SimpleComTest.dll