Skip to content

Migrate CI/CD to GitHub Actions#5

Merged
poxet merged 5 commits into
masterfrom
develop
Apr 28, 2026
Merged

Migrate CI/CD to GitHub Actions#5
poxet merged 5 commits into
masterfrom
develop

Conversation

@poxet
Copy link
Copy Markdown
Contributor

@poxet poxet commented Apr 28, 2026

Summary

  • Add .github/workflows/build.yml adapted from Tharga.Crawler reference (build, security/CodeQL, release, prerelease jobs); remove azure-pipelines.yml + buildnumber.yml.
  • Reporter-specific deviations: windows-latest runner for build/security (System.Drawing.Common + Aspose.BarCode are Windows-runtime sensitive), shell: bash on script steps, warning threshold 200 (existing CA1416 baseline ~150), MAJOR_MINOR=2.3 continuing the existing version stream, test filter (Category!=Integration)&(Category!=TimeCritical) preserved.
  • Includes the in-flight nuget package updates already on develop.

This is the migration PR. Going forward branches should be feature/<name>master and develop can be deleted after this merge.

Required GitHub setup before merging

  • Add NUGET_API_KEY repo secret
  • Create release and prerelease environments

Test plan

  • PR triggers build, security, prerelease jobs successfully on this PR
  • Pre-release 2.3.4-pre.1 published to NuGet from this PR
  • Merge triggers release job and publishes 2.3.4 to NuGet + GitHub Release
  • Disable Azure DevOps pipeline in AzDo project UI after merge
  • Delete develop branch after merge

poxet added 4 commits April 28, 2026 22:03
Add .github/workflows/build.yml adapted from the Tharga.Crawler
canonical reference. Configured for Reporter:

- runs-on: windows-latest (System.Drawing.Common + Aspose.BarCode
  are Windows-runtime dependent)
- MAJOR_MINOR=2.3 (continues stream from latest tag 2.3.3)
- Test filter preserves AzDo's (Category!=Integration)&(Category!=TimeCritical)
- Pack only Tharga.Reporter.csproj
- Warning threshold 200 to accommodate existing CA1416 baseline

Azure DevOps pipeline (azure-pipelines.yml + buildnumber.yml) is
left in place until the new workflow is verified on master; it
will be removed in a follow-up commit after AzDo is disabled.
Replaced by GitHub Actions workflow in 1b742fa. Disable the
pipeline in the Azure DevOps project UI to stop scheduled runs.
Workflow validated locally and ready to run on master. Plan
archived to $DOC_ROOT/Tharga/plans/Toolkit/Reporter/done/.
@github-advanced-security
Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

Tharga.Reporter is a Windows-only library by design (uses
System.Drawing.Common, Aspose.BarCode, PdfSharp.MigraDoc.Standard
with GDI+ rendering). The CA1416 platform analyzer flags every
System.Drawing call site, producing ~150 warnings locally and
~300 in CI (build graph traversal duplicates per-target output).

Adding CA1416 to <NoWarn> drops the count to 15 locally. Lower
the workflow threshold from 200 to 100 so it remains meaningful.
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 28, 2026

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

ℹ️ You can also turn on project coverage checks and project coverage reporting on Pull Request comment

Thanks for integrating Codecov - We've got you covered ☂️

@poxet poxet merged commit f7886d3 into master Apr 28, 2026
5 of 6 checks passed
@github-actions
Copy link
Copy Markdown

Released as v2.3.4https://github.com/Tharga/Reporter/releases/tag/2.3.4

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.

2 participants