[PR #829] [MERGED] chore: speed up ci by respecting the cargo deps cache #4370

Closed
opened 2026-03-23 21:37:31 +00:00 by mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/829
Author: @Binlogo
Created: 8/11/2022
Status: Merged
Merged: 8/15/2022
Merged by: @LucasXu0

Base: mainHead: ci/speed-up-by-caching-dep


📝 Commits (1)

  • 2fddbce chore: speed up ci by respecting the cargo deps cache

📊 Changes

3 files changed (+74 additions, -40 deletions)

View changed files

📝 .github/workflows/ci.yaml (+19 -13)
📝 .github/workflows/dart_lint.yml (+28 -7)
📝 .github/workflows/dart_test.yml (+27 -20)

📄 Description

Noticed #359 issue, and try to fix. Then, it comes here.

Since #391 uses actions-caches, it speed up a lot. Even better, we could respect the cache of the dependency, it may save a lot of time.

Before After
image image
image image

Hope it may help. If the ci & dart job works well, I could optimize others deeply.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/AppFlowy-IO/AppFlowy/pull/829 **Author:** [@Binlogo](https://github.com/Binlogo) **Created:** 8/11/2022 **Status:** ✅ Merged **Merged:** 8/15/2022 **Merged by:** [@LucasXu0](https://github.com/LucasXu0) **Base:** `main` ← **Head:** `ci/speed-up-by-caching-dep` --- ### 📝 Commits (1) - [`2fddbce`](https://github.com/AppFlowy-IO/AppFlowy/commit/2fddbce18cd222980034b3de4b181906980e168c) chore: speed up ci by respecting the cargo deps cache ### 📊 Changes **3 files changed** (+74 additions, -40 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/ci.yaml` (+19 -13) 📝 `.github/workflows/dart_lint.yml` (+28 -7) 📝 `.github/workflows/dart_test.yml` (+27 -20) </details> ### 📄 Description Noticed #359 issue, and try to fix. Then, it comes here. Since #391 uses actions-caches, it speed up a lot. Even better, we could respect the cache of the dependency, it may save a lot of time. | **Before** | **After** | | ---- | ---- | | ![image](https://user-images.githubusercontent.com/7845507/184188918-b89f0e2b-015d-4a42-b349-81ffeda70767.png) | ![image](https://user-images.githubusercontent.com/7845507/184189027-e69bce77-f347-4be1-8a6b-a4f4a634ec02.png) | | ![image](https://user-images.githubusercontent.com/7845507/184189327-963fbfa1-66df-4c09-b860-a474a8534e1f.png) | ![image](https://user-images.githubusercontent.com/7845507/184190124-a96013ac-8c40-4263-b554-e0912c67a189.png) | Hope it may help. If the ci & dart job works well, I could optimize others deeply. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 21:37:31 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#4370
No description provided.