Skip to content

GitHub actions workflow optimization#189

Open
gloskull wants to merge 2 commits into
Utility-Protocol:mainfrom
gloskull:GitHub-Actions-Workflow-Optimization
Open

GitHub actions workflow optimization#189
gloskull wants to merge 2 commits into
Utility-Protocol:mainfrom
gloskull:GitHub-Actions-Workflow-Optimization

Conversation

@gloskull

Copy link
Copy Markdown
Contributor

Optimized and parallelized the GitHub Actions CI workflow for the utility-backend service.

Changes implemented:

Split monolithic lint-check-type job into parallel, independent fmt and clippy jobs to allow formatting checks to fail fast without code compilation, maximizing runner concurrency.
Configured Swatinem/rust-cache@v2 across all Rust compile jobs, replacing incomplete manual registry caching to properly cache the Cargo registry, index, git dependencies, and build artifacts.
Decreased Postgres service health-check interval and timeout to 2s in the test job, saving up to 10 seconds of idle wait time at the start.
Upgraded the docker-build job to utilize docker/setup-buildx-action@v3 and docker/build-push-action@v5 with GHA cache backend (type=gha, mode=max) for incremental Docker image builds.
Closes #138

google-labs-jules Bot and others added 2 commits July 17, 2026 13:02
- Split monolithic lint-check-type job into parallel fmt and clippy jobs
- Replace manual actions/cache configurations with Swatinem/rust-cache@v2
- Optimize Postgres service healthcheck parameters (interval 2s, timeout 2s)
- Use Docker Buildx with GHA caching for docker-build job

Co-authored-by: gloskull <189399494+gloskull@users.noreply.github.com>
…510762488

GitHub Actions Workflow Optimization and Parallelization
@JerryIdoko

Copy link
Copy Markdown

resolve conflicts @gloskull

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.

GitHub Actions Workflow Optimization and Parallelization

2 participants