Skip to content

ci: improve GitHub Actions workflow with caching and Docker build#16

Open
haosenwang1018 wants to merge 1 commit intocft0808:mainfrom
haosenwang1018:improve-ci
Open

ci: improve GitHub Actions workflow with caching and Docker build#16
haosenwang1018 wants to merge 1 commit intocft0808:mainfrom
haosenwang1018:improve-ci

Conversation

@haosenwang1018
Copy link

Summary

Improves the CI workflow to provide faster feedback and better coverage.

Changes

  • Separate lint job: Runs shell linting in parallel for faster feedback
  • Add pip caching: Caches Python dependencies to speed up test runs
  • Add Docker build job: Verifies Dockerfile builds correctly
  • Use Docker Buildx: Enables layer caching for Docker builds
  • Lint all shell scripts: Checks all .sh files, not just run_loop.sh
  • Verify install.sh: Adds syntax check for the install script

Benefits

  • Faster CI runs with pip caching
  • Earlier detection of shell script issues
  • Ensures Docker image always builds
  • Better organized job structure

Testing

  • Workflow syntax validated
  • No breaking changes to existing jobs

- Add separate lint job for faster feedback
- Add pip caching for faster dependency installation
- Add Docker build job to verify Dockerfile
- Use Docker Buildx with layer caching
- Check all shell scripts, not just run_loop.sh
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.

1 participant