Ci improvements #4

Merged
gffranco merged 6 commits from ci-improvements into main 2026-06-03 23:52:47 +00:00
Owner
No description provided.
gffranco added 3 commits 2026-06-03 23:37:18 +00:00
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
- 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
Gitea Actions requires branches filter on pull_request triggers to
match the target branch, otherwise PRs never fire the workflow.
gffranco added 1 commit 2026-06-03 23:44:16 +00:00
gffranco added 1 commit 2026-06-03 23:45:45 +00:00
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
91e6fb26e3
gffranco added 1 commit 2026-06-03 23:46:34 +00:00
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
ad7a282877
gffranco merged commit cd4bfffef9 into main 2026-06-03 23:52:47 +00:00
gffranco deleted branch ci-improvements 2026-06-03 23:53:23 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: gffranco/nuwiki#4