Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: --validate and --strict #2717

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

ChristopherHX
Copy link
Contributor

Use act --validate --strict to test for errors of the strict schema without running anything.

Could report a small number of phantom problems, but this opt in variant should not make people defer updates.

Closes #2716

@mergify mergify bot added the needs-work Extra attention is needed label Mar 28, 2025
Copy link
Contributor

github-actions bot commented Mar 28, 2025

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ EDITORCONFIG editorconfig-checker 9 0 0.04s
✅ REPOSITORY gitleaks yes no 2.77s
✅ REPOSITORY git_diff yes no 0.01s
✅ REPOSITORY grype yes no 10.5s
✅ REPOSITORY secretlint yes no 1.22s
✅ REPOSITORY trivy-sbom yes no 0.39s
✅ REPOSITORY trufflehog yes no 3.83s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

@pull-request-size pull-request-size bot added size/L and removed size/M labels Mar 28, 2025
Copy link

codecov bot commented Mar 28, 2025

Codecov Report

Attention: Patch coverage is 76.92308% with 6 lines in your changes missing coverage. Please review.

Project coverage is 74.56%. Comparing base (5a80a04) to head (02b539d).
Report is 197 commits behind head on master.

Files with missing lines Patch % Lines
cmd/root.go 50.00% 2 Missing and 1 partial ⚠️
pkg/model/workflow.go 87.50% 2 Missing ⚠️
pkg/model/planner.go 66.66% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master    #2717       +/-   ##
===========================================
+ Coverage   61.56%   74.56%   +12.99%     
===========================================
  Files          53       72       +19     
  Lines        9002    11085     +2083     
===========================================
+ Hits         5542     8265     +2723     
+ Misses       3020     2188      -832     
- Partials      440      632      +192     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mergify mergify bot removed the needs-work Extra attention is needed label Mar 28, 2025
cplee
cplee previously approved these changes Mar 29, 2025
@mergify mergify bot added the conflict PR has conflicts label Mar 29, 2025
@mergify mergify bot removed the conflict PR has conflicts label Mar 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Is it possible to validate workflows with act, without running them?
2 participants