mirror of
https://github.com/nektos/act.git
synced 2026-04-26 09:25:54 +03:00
[PR #2507] [MERGED] add test for listartifacts v4 filter #2468
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#2468
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/nektos/act/pull/2507
Author: @ChristopherHX
Created: 10/28/2024
Status: ✅ Merged
Merged: 10/29/2024
Merged by: @mergify[bot]
Base:
master← Head:fix-v4-defect📝 Commits (4)
e0aabb4add test for listartifacts v4 filterf4cf1c9Update artifacts.yml81527cduse 32bit ids after cast to double we have a lossd07f371Update artifacts.yml📊 Changes
2 files changed (+47 additions, -3 deletions)
View changed files
📝
pkg/artifacts/arifacts_v4.go(+3 -3)📝
pkg/artifacts/testdata/v4/artifacts.yml(+44 -0)📄 Description
I reviewed my own code today and saw
||instead of&&resulting in broken artifact matching.After fixing this I noticed that nodejs truncates the int64 ids so switch to 32bit that fitd in double.
Additionally added an actual test what this change should fix
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.