27 Commits
Author SHA1 Message Date
Ajay Kemparaj f9fec07de4 feat: Require Go 1.26 and use new(expr) for pointer literals (#4481) 2026-08-28 12:18:49 -04:00
Oleksandr Redko 3215e0320e test: Remove redundant Marshal tests (#4266) 2026-06-04 09:22:07 -04:00
Steve Hipwell d9f999787d feat!: Refactor client constructor to use options pattern (#4201)
BREAKING CHANGE: Clients are now constructed with a nicer builder pattern. See docs for details.
2026-05-14 17:24:26 -04:00
Glenn Lewis 4505771989 Prefer %v over %d,%s and add fmtpercentv custom linter (#3756) 2025-10-05 21:39:53 -04:00
Oleksandr Redko 233fe03e17 test: Use t.Context() instead of context.Background() (#3750) 2025-10-03 08:09:47 -04:00
Oleksandr Redko 17f7ee43df docs: Use secure URLs in string literals (#3657) 2025-07-30 09:39:30 -04:00
Oleksandr Redko ff1666c906 refactor: Fix revive.unnecessary-format lint issues (#3629) 2025-07-19 14:01:40 -04:00
Oleksandr Redko 9493278195 refactor: fix revive.unused-parameter lint issues (#3603) 2025-06-25 11:44:09 -04:00
Oleksandr Redko 3a3f51bc7c chore: Remove redundant in Go 1.22 loop variables (#3537) 2025-04-02 08:52:10 -04:00
William Mouchère 3428a81385 Add opt-in rate limit support on endpoints returning 302s (#3411)
Fixes: #3406.
2025-01-02 12:00:31 -05:00
Oleksandr Redko f66ed85955 feat: Deprecate and replace Bool,Int,Int64,String with Ptr using generics (#3355) 2024-12-10 21:36:09 -05:00
Glenn Lewis cc9a0ed64e feat!: Add name query parameter to ActionsService.ListArtifacts (#3330)
Fixes: #3328.

BREAKING CHANGE: `opts` argument to `ActionsService.ListArtifacts` changed from `ListOptions` to `ListArtifactsOptions`.
2024-10-21 08:00:02 -04:00
Glenn Lewis dc884c26ca Add t.Parallel to unit tests (#3297) 2024-10-05 07:29:05 -04:00
Glenn Lewis e56d378b96 refactor: Do not call teardown manually in tests (#3296) 2024-10-01 11:52:30 -04:00
Oleksandr Redko 2406067865 fix: Correct typos in vars, comments, tests (#3289) 2024-09-24 11:05:32 -04:00
k0ral 2d889e8d86 Allow up to maxRedirects upon receiving HTTP 301 status (#2939) 2023-09-25 13:07:47 -04:00
Bryan Callahan c855eb5fc7 Add URL, UpdateAt, and WorkflowRun fields to Artifacts (#2660) 2023-02-06 09:28:57 -05:00
Glenn Lewis ef6c7a6dc8 Remove failing unit tests for Go 1.20 (#2656)
Fixes: #2654.
2023-02-02 06:57:20 -05:00
Moein Halvaei d6115619cf Fix unhandled error in actions_artifacts.go (#2460) 2022-09-15 15:33:16 -04:00
Glenn Lewis 3e8a7f0fbe Clean up method return consistency (#2318) 2022-03-24 23:16:22 -04:00
Sagar Sonwane 9bd47515dd Add test cases for JSON resources marshaling (#1906) 2021-07-08 16:11:32 -04:00
Nilesh Singh c9fec828b8 Modify GetBranch to handle redirects (#1901)
Fixes #1895.
2021-07-08 15:43:22 -04:00
Sagar Sonwane 51e7595f87 fix: Updated comparisons in test files (#1875)
Replaced all reflect.DeepEqual comparisons in test files with cmp.Equal.

Fixes: #1851
2021-05-26 11:49:24 -07:00
Glenn Lewis 92f8840498 Improve actions_artifacts.go coverage (#1759) 2020-12-25 18:50:16 -05:00
Glenn Lewis 460db534b8 Refactor context.Background in tests (#1672) 2020-12-16 05:58:28 -05:00
boljen 2d9ff911d8 Add ListArtifacts to ActionsService (#1538)
Fixes: #1537.
2020-05-27 21:49:01 -04:00
Alex Orr 65635608af Implement support for actions artifacts (#1414)
Relates to: #1399.
2020-02-27 07:41:51 -05:00