Make use of async_handshake being a coroutine #17
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: analyze | |
on: [push, pull_request] | |
jobs: | |
analyze: | |
runs-on: windows-2022 | |
name: Run MSVC static code analyzer | |
strategy: | |
fail-fast: false | |
matrix: | |
config: [Release, Debug] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install Boost | |
uses: MarkusJx/[email protected] | |
id: install-boost | |
with: | |
boost_version: 1.83.0 | |
toolset: msvc | |
platform_version: 2022 | |
- name: Configure | |
env: | |
BOOST_ROOT: ${{ steps.install-boost.outputs.BOOST_ROOT }} | |
shell: bash | |
run: cmake -B build -T v143 -DENABLE_DOCUMENTATION=OFF -DCMAKE_CONFIGURATION_TYPES=${{ matrix.config }} | |
- name: Run MSVC static code analyzer | |
uses: microsoft/[email protected] | |
id: run-analysis | |
with: | |
cmakeBuildDirectory: build | |
buildConfiguration: ${{ matrix.config }} | |
ruleset: NativeRecommendedRules.ruleset | |
- name: Upload SARIF to GitHub | |
uses: github/codeql-action/upload-sarif@v3 | |
with: | |
sarif_file: ${{ steps.run-analysis.outputs.sarif }} |