[PR #5941] [CLOSED] refactor: replace sort.Slice with slices.Sort for natural ordering #2631

Closed
opened 2026-03-01 22:37:30 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/5941
Author: @asttool
Created: 9/26/2025
Status: Closed

Base: masterHead: master


📝 Commits (1)

  • 0836fda refactor: replace sort.Slice with slices.Sort for natural ordering

📊 Changes

1 file changed (+2 additions, -4 deletions)

View changed files

📝 pkg/model/planner.go (+2 -4)

📄 Description

There is a new function added in the go1.21 standard library, which can make the code more concise and easy to read.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/nektos/act/pull/5941 **Author:** [@asttool](https://github.com/asttool) **Created:** 9/26/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`0836fda`](https://github.com/nektos/act/commit/0836fda8c4b0c1ebd72448c5d0d81fef89d12552) refactor: replace sort.Slice with slices.Sort for natural ordering ### 📊 Changes **1 file changed** (+2 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `pkg/model/planner.go` (+2 -4) </details> ### 📄 Description There is a [new function](https://pkg.go.dev/slices#Sort) added in the go1.21 standard library, which can make the code more concise and easy to read. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 22:37:30 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#2631
No description provided.