Skip to content

feat: reorganize workflows - #135

Merged
quangvdao merged 11 commits into
mainfrom
new-workflows
Aug 27, 2025
Merged

feat: reorganize workflows#135
quangvdao merged 11 commits into
mainfrom
new-workflows

Conversation

@quangvdao

Copy link
Copy Markdown
Collaborator

This PR aims to align the Github workflows of ArkLib with the standard ones in a Lean repo

- Add update.yml for automated dependency management (stable versions only)
- Improve ci.yml with proper caching and artifact upload
- Add deploy.yml with parallel docs/blueprint building
- Fix cache timing: restore before build, save after
- Use artifacts to pass build state between jobs
- Rename old blueprint.yml to blueprint-old.yml for reference

Fixes:
- Duplicate build processes between ci.yml and blueprint.yml
- Cache timeout issues due to improper configuration
- Missing dependency update automation
@quangvdao

Copy link
Copy Markdown
Collaborator Author

@alexanderlhicks trying out different options for PR approval. do we want explicit approving review?

Also, it's strange that I can't seem to approve myself

@quangvdao
quangvdao enabled auto-merge (squash) August 27, 2025 21:39
@quangvdao
quangvdao disabled auto-merge August 27, 2025 21:51
@quangvdao
quangvdao merged commit 2338683 into main Aug 27, 2025
3 checks passed
@quangvdao
quangvdao deleted the new-workflows branch August 27, 2025 21:52
@alexanderlhicks

Copy link
Copy Markdown
Collaborator

Also, it's strange that I can't seem to approve myself

I'm assuming this ended up working in the end? Would be a weird issue.

@quangvdao

Copy link
Copy Markdown
Collaborator Author

I still couldn't approve myself I think, but I could bypass that setting and force merge.

@alexanderlhicks

alexanderlhicks commented Aug 27, 2025

Copy link
Copy Markdown
Collaborator

hahaha I see. Github permissions can be weird sometimes depending on repository vs org permissions, I'll have a look.

katyhr pushed a commit to NethermindEth/ArkLibFri that referenced this pull request Sep 16, 2025
* Refactor GitHub workflows: fix duplicate builds and cache issues

- Add update.yml for automated dependency management (stable versions only)
- Improve ci.yml with proper caching and artifact upload
- Add deploy.yml with parallel docs/blueprint building
- Fix cache timing: restore before build, save after
- Use artifacts to pass build state between jobs
- Rename old blueprint.yml to blueprint-old.yml for reference

Fixes:
- Duplicate build processes between ci.yml and blueprint.yml
- Cache timeout issues due to improper configuration
- Missing dependency update automation

* restore ci

* add linter run

* add check import workflow

* refactor workflows

* gitignore: ignore blueprint/print and untrack generated print artifacts

* gitignore: untrack blueprint print PDFs under print/ and src/

* update lean decls

* build blueprint first before checking decl

* change to build only pdf, not web
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.

2 participants