Skip to content

feat(ci): update GitHub Actions and optimize CI configuration with code quality improvements#391

Merged
hsluoyz merged 20 commits into
apache:masterfrom
cici0602:fix_ci
Sep 17, 2025
Merged

feat(ci): update GitHub Actions and optimize CI configuration with code quality improvements#391
hsluoyz merged 20 commits into
apache:masterfrom
cici0602:fix_ci

Conversation

@cici0602
Copy link
Copy Markdown
Contributor

@cici0602 cici0602 commented Sep 17, 2025

No description provided.

- Update actions/cache from v1/v2 to v4 in all workflow files
- Update actions/checkout to v4 in all workflow files
- Update codecov/codecov-action from v1 to v4
Correct macOS runner name to macos-latest
Enhance GNU tar installation robustness and set PATH via  for Homebrew paths
Fix YAML matrix indentation errors
Add fallback for cache key suffix (use github.run_id when secrets.CACHE_VERSION is unavailable)
Split toolchain installation and conditional components install to avoid beta channel failures
Pin smrpn/criterion-compare-action to @v1 in pull_request.yml
- Set RUSTFLAGS for wasm_js backend in CI environment
- Remove .cargo/config.toml to avoid affecting local development
- Update getrandom dependency to version 0.3 with wasm_js feature
Fix getrandom compilation errors by removing RUSTFLAGS='--cfg getrandom_backend=wasm_js'
from regular build and test steps. This configuration should only be applied to wasm32 targets.
Remove conditional installation that only installed clippy on stable toolchain,
ensuring clippy checks work consistently across both stable and beta toolchains.
Fixes 'cargo-clippy is not installed' error on macOS beta toolchain.
- use std::io::Error::other(...) instead of io::Error::new(..., ErrorKind::Other)
- add explicit lifetime to Cow return type in escape_eval
- remove related unused imports
…@v3.2.4

Explicitly pass branchName: ${{ github.base_ref }} to ensure correct PR baseline comparison.
…tore-keys

Resolve deprecated actions/cache v2.1.4 error by updating path configuration
and adding restore-keys fallback mechanism for better cache compatibility.
are available for criterion-compare-action
@hsluoyz hsluoyz changed the title fix(ci): update GitHub Actions and optimize CI configuration with code quality improvements feat(ci): update GitHub Actions and optimize CI configuration with code quality improvements Sep 17, 2025
@hsluoyz hsluoyz merged commit 33c165a into apache:master Sep 17, 2025
9 of 10 checks passed
@codecov
Copy link
Copy Markdown

codecov Bot commented Sep 17, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (c5a05d3) to head (a1b5074).
⚠️ Report is 16 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##           master   #391       +/-   ##
=========================================
- Coverage   65.54%      0   -65.55%     
=========================================
  Files          25      0       -25     
  Lines        1956      0     -1956     
=========================================
- Hits         1282      0     -1282     
+ Misses        674      0      -674     

☔ 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.

github-actions Bot pushed a commit that referenced this pull request Sep 17, 2025
# [2.11.0](v2.10.1...v2.11.0) (2025-09-17)

### Features

* **ci:** update GitHub Actions and optimize CI configuration with code quality improvements ([#391](#391)) ([33c165a](33c165a))
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 2.11.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

2 participants