Skip to content

chore: upgrade GitHub Actions to latest versions#2

Open
tamnd wants to merge 4 commits into
mainfrom
chore/upgrade-actions
Open

chore: upgrade GitHub Actions to latest versions#2
tamnd wants to merge 4 commits into
mainfrom
chore/upgrade-actions

Conversation

@tamnd

@tamnd tamnd commented Jun 20, 2026

Copy link
Copy Markdown
Owner

Node.js 20 deprecation — bumps all stale actions to latest.

tamnd added 4 commits June 15, 2026 18:46
Six gated commands behind --cookie/ZHIHU_COOKIE, reading Zhihu v4 API
endpoints for question detail, answer lists, single answers, column articles,
user profiles, and search. Also upgrades kit to v0.4.0, refactors the library
into api/wire/ids/ops files, and rewrites all docs.
- HotItem now carries excerpt and followers (follower_count)
- Question carries excerpt, author_token, and a topics list ([]string)
- Answer carries excerpt; URL falls back to /answer/{id} when question ID is absent
- Article carries excerpt
- User carries thanked and avatar_url
- SearchResult carries author, author_token, and votes
- Wire converters updated to populate the new fields
- include params updated to request the new fields from the v4 API
- Fix double URL-encoding in suggest (ops.go passed QueryEscape output to
  api.go which encoded again; now plain string passes through)
- Rewrite guides/adding-a-command.md and guides/resource-uris.md with real
  Zhihu content instead of generic scaffold copy
Node.js 20 is being deprecated in the Actions runtime.

  actions/checkout              → v7.0.0
  browser-actions/setup-chrome  → v2.1.2
  golangci/golangci-lint-action → v9.2.1
  goreleaser/goreleaser-action  → v7.2.2
  docker/setup-qemu-action      → v4.1.0
  docker/setup-buildx-action    → v4.1.0
  docker/login-action           → v4.2.0
  sigstore/cosign-installer     → v4.1.2
  anchore/sbom-action           → v0.24.0
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