Skip to content

Sort HTTP methods for deterministic markdown output#25

Merged
VojtechVitek merged 2 commits intogo-chi:masterfrom
filipenos:master
Mar 30, 2026
Merged

Sort HTTP methods for deterministic markdown output#25
VojtechVitek merged 2 commits intogo-chi:masterfrom
filipenos:master

Conversation

@filipenos
Copy link
Copy Markdown
Contributor

Sort handler methods (GET, POST, etc.) before rendering in MarkdownRoutesDoc to prevent non-deterministic output caused by Go map iteration order.

Sort handler methods (GET, POST, etc.) before rendering to prevent
non-deterministic output caused by Go map iteration order.
Copy link
Copy Markdown
Contributor

@VojtechVitek VojtechVitek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@VojtechVitek
Copy link
Copy Markdown
Contributor

Thanks for your contribution. Would you mind fixing the CI?

@filipenos
Copy link
Copy Markdown
Contributor Author

Sure, I'll be happy to correct it.

@filipenos
Copy link
Copy Markdown
Contributor Author

The CI was failing for all jobs because Go 1.14/1.15/1.16 binaries are not available for macos-latest (now arm64/Apple Silicon). These Go versions have been EOL since 2022.

This commit updates the CI to:

  • Go 1.21, 1.22, 1.23 (currently supported versions)
  • actions/setup-go@v5 and actions/checkout@v4
  • Remove legacy GO111MODULE: off and GOPATH workaround

@VojtechVitek VojtechVitek merged commit 3c1c1ef into go-chi:master Mar 30, 2026
9 checks passed
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