Ci improvements #4

Merged
gffranco merged 6 commits from ci-improvements into main 2026-06-03 23:52:47 +00:00

6 Commits

Author SHA1 Message Date
gffranco ad7a282877 release: fix restore-keys pipe syntax for Gitea
CI / cargo fmt --check (pull_request) Successful in 42s
CI / cargo clippy (pull_request) Successful in 38s
CI / cargo test (pull_request) Successful in 36s
CI / editor keymaps (pull_request) Successful in 1m25s
2026-06-03 20:46:26 -03:00
gffranco 91e6fb26e3 ci: fix restore-keys to use pipe syntax (Gitea doesn't support YAML list)
CI / cargo fmt --check (pull_request) Successful in 18s
CI / cargo clippy (pull_request) Successful in 21s
CI / cargo test (pull_request) Successful in 33s
CI / editor keymaps (pull_request) Successful in 1m41s
2026-06-03 20:45:36 -03:00
gffranco 83565b16a2 ci: remove concurrency key (not supported by Gitea Actions) 2026-06-03 20:42:37 -03:00
gffranco d67e1c0790 ci: pin pull_request trigger to main branch
Gitea Actions requires branches filter on pull_request triggers to
match the target branch, otherwise PRs never fire the workflow.
2026-06-03 20:21:43 -03:00
gffranco c83a7fe94b ci: upgrade artifact actions to v4
- upload-artifact@v3 -> v4 (removed deprecated retention-days)
- download-artifact@v3 -> v4 with merge-multiple: true
- This flattens artifacts into the download path, simplifying the
  find/upload loop that uploads assets to Gitea
2026-06-03 20:14:12 -03:00
gffranco b33ed90810 ci: improve workflows with stricter checks, caching, and idempotency
CI improvements:
- Add concurrency group to cancel redundant runs on same branch
- Add cargo cache to fmt job (was missing entirely)
- Add timeout-minutes: 5 to fast jobs (fmt, clippy, test) for fail-fast
- Change RUST_BACKTRACE from 'short' to '1' for better CI debuggability
- Pin push trigger to branches: [main] to avoid double-firing on PR merges
- Test minimum supported Neovim (0.11.0) instead of latest patch (0.11.3)

Release improvements:
- Enforce RUSTFLAGS: -D warnings at env level and in matrix rustflags
- Remove redundant checkout in release job (only needs env vars)
- Add release notes generation from git log since previous tag
- Make release creation idempotent (check if release exists before creating)
- Fix release_id not being set when release already exists
2026-06-03 20:11:03 -03:00