Skip to content

ci: enhance CI workflow with Go 1.24 and test reporting - #100

Merged
SVilgelm merged 1 commit into
mainfrom
add-lint-job-and-codecov-test-results
May 11, 2025
Merged

SVilgelm merged 1 commit into
mainfrom
add-lint-job-and-codecov-test-results

Conversation

@SVilgelm

Copy link
Copy Markdown
Member

Add Go 1.24 to the matrix to keep the CI up to date with the latest
Go version. Introduce a separate Lint job that runs gofmt and go vet
to improve code quality checks independently. Replace previous gofmt
and go vet steps in the main job with a dedicated lint job.

Modify the test job to install go-junit-report and generate JUnit XML
test reports from Go test JSON output. Upload these test results to
Codecov alongside coverage reports to improve test result visibility
and integration with CI tools. These changes enhance CI robustness,
code quality enforcement, and test reporting.

Add Go 1.24 to the matrix to keep the CI up to date with the latest
Go version. Introduce a separate Lint job that runs gofmt and go vet
to improve code quality checks independently. Replace previous gofmt
and go vet steps in the main job with a dedicated lint job.

Modify the test job to install go-junit-report and generate JUnit XML
test reports from Go test JSON output. Upload these test results to
Codecov alongside coverage reports to improve test result visibility
and integration with CI tools. These changes enhance CI robustness,
code quality enforcement, and test reporting.
Copilot AI review requested due to automatic review settings May 11, 2025 16:25

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 enhances the CI workflow for a Go project by updating the Go version to 1.24, adding a dedicated Lint job for improved code quality checks, and expanding test reporting with JUnit XML outputs for better integration with Codecov.

  • Introduces a new Lint job that runs gofmt and go vet independently.
  • Updates the UnitTestJob to incorporate Go 1.24 and generate both coverage and JUnit XML reports.

Comment thread .github/workflows/code.yaml Resolved
@SVilgelm
SVilgelm merged commit 1264bfa into main May 11, 2025
@SVilgelm
SVilgelm deleted the add-lint-job-and-codecov-test-results branch May 11, 2025 16:28
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

⌂ 换网址