Skip to content

Fix build workflow MFC/ATL installation and address reviewer feedback#15

Merged
Mika3578 merged 2 commits into
vs2019v142from
copilot/sub-pr-14
Nov 10, 2025
Merged

Fix build workflow MFC/ATL installation and address reviewer feedback#15
Mika3578 merged 2 commits into
vs2019v142from
copilot/sub-pr-14

Conversation

Copilot AI commented Nov 10, 2025

Copy link
Copy Markdown

Build was failing with missing atlbase.h and MFC library errors. The workflow assumed windows-latest runners include MFC/ATL by default, but these are optional components requiring explicit installation.

Changes

Build Workflow

  • Install MFC/ATL components via chocolatey before building:
    choco install visualstudio2022-workload-vctools \
      --package-parameters "--add Microsoft.VisualStudio.Component.VC.ATL --add Microsoft.VisualStudio.Component.VC.ATLMFC" -y
  • Format executable size with 2 decimal places in build summary

Security Scan Workflow

  • Pin trivy-action to 0.28.0 instead of @master to prevent breaking changes

Code Quality Workflow

  • Fix PowerShell Select-String syntax: use -Path dir -Include *.ext -Recurse instead of -Path dir\*.ext -Recurse

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: Mika3578 <58137747+Mika3578@users.noreply.github.com>
Copilot AI changed the title [WIP] Update GitHub workflows for automation and quality checks Fix build workflow MFC/ATL installation and address reviewer feedback Nov 10, 2025
Copilot AI requested a review from Mika3578 November 10, 2025 18:19
@Mika3578
Mika3578 marked this pull request as ready for review November 10, 2025 19:18
Copilot AI review requested due to automatic review settings November 10, 2025 19:18
@Mika3578
Mika3578 merged commit cf3ffb3 into vs2019v142 Nov 10, 2025
@Mika3578
Mika3578 deleted the copilot/sub-pr-14 branch November 10, 2025 19:19

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes build failures caused by missing MFC/ATL components and addresses reviewer feedback on workflow configurations. The changes ensure Windows builds can successfully compile by explicitly installing required Visual Studio components, and improve workflow stability by pinning action versions and correcting PowerShell command syntax.

  • Explicitly installs MFC/ATL components via Chocolatey before building
  • Pins trivy-action to version 0.28.0 for stability
  • Fixes PowerShell Select-String syntax in code quality checks

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
.github/workflows/build.yml Adds chocolatey installation of MFC/ATL components and formats executable size output to 2 decimal places
.github/workflows/security-scan.yml Pins trivy-action to version 0.28.0 instead of using @master to prevent breaking changes
.github/workflows/code-quality.yml Corrects Select-String PowerShell syntax to use -Path with directory and -Include for file patterns

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants