Skip to content

chore: optimize and cleanup CI workflows - #257

Merged
elizabetheonoja-art merged 1 commit into
Utility-Protocol:mainfrom
zinodict121:chore/ci-cd-cleanup
Aug 22, 2026
Merged

chore: optimize and cleanup CI workflows#257
elizabetheonoja-art merged 1 commit into
Utility-Protocol:mainfrom
zinodict121:chore/ci-cd-cleanup

Conversation

@zinodict121

Copy link
Copy Markdown
Contributor

Pull Request: Optimize and Cleanup CI Workflows

Description

This PR reviews and cleans up the GitHub Actions workflows to reduce execution time, prevent deprecation warnings, and consolidate redundant configurations.

Resolves #252

Changes Made

  • Action Version Updates: Bumped actions/github-script to v7 in auto-assign.yml and auto-merge-pr.yml to use Node 20 and prevent future deprecation warnings.
  • Workflow Consolidation: Merged the pre-commit and lint-check-type jobs into a single lint job in backend-ci.yml. This prevents spinning up two separate environments and installing the Rust toolchain twice.
  • Improved Caching: Replaced the manual Cargo cache configuration with Swatinem/rust-cache@v2 for more robust dependency and registry caching across the backend-ci.yml jobs.
  • Eliminated Source Compilation in CI: In dependency-security.yml, replaced cargo install cargo-audit and cargo install cargo-deny (which took minutes to compile from source) with taiki-e/install-action@v2. This fetches pre-compiled binaries in seconds.

Acceptance Criteria Met

  • All workflows use latest stable action versions
  • No deprecated warnings in CI runs
  • Reduced workflow execution time

Testing Instructions

  • Review the code changes in the workflow YAML files.
  • Once the PR is opened, verify that the triggered GitHub Actions CI runs successfully.
  • Verify that the total execution time of backend-ci and dependency-security is significantly faster than the main branch.

@elizabetheonoja-art
elizabetheonoja-art merged commit 7a14246 into Utility-Protocol:main Aug 22, 2026
3 of 8 checks passed
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.

Clean Up CI/CD Pipeline Configuration

2 participants