8000 actions artifacts api list/download check status upload confirmed by ChristopherHX · Pull Request #34273 · go-gitea/gitea · GitHub
[go: up one dir, main page]

Skip to content

actions artifacts api list/download check status upload confirmed #34273

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
code style fixes
  • Loading branch information
ChristopherHX committed Apr 23, 2025
commit 11501c43194a9a4a6fa8f4453f81310b412e7ed8
4 changes: 2 additions & 2 deletions tests/integration/api_actions_artifact_v4_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ func TestActionsArtifactV4Delete(t *testing.T) {
WorkflowJobRunBackendId: "193",
})).
AddTokenAuth(token)
resp = MakeRequest(t, req, http.StatusNotFound)
_ = MakeRequest(t, req, http.StatusNotFound)

// confirm artifact is no longer enumerateable by ListArtifacts and returns length == 0 without error
req = NewRequestWithBody(t, "POST", "/twirp/github.actions.results.api.v1.ArtifactService/ListArtifacts", toProtoJSON(&actions.ListArtifactsRequest{
Expand All @@ -576,7 +576,7 @@ func TestActionsArtifactV4Delete(t *testing.T) {
resp = MakeRequest(t, req, http.StatusOK)
var listResp actions.ListArtifactsResponse
protojson.Unmarshal(resp.Body.Bytes(), &listResp)
assert.Len(t, listResp.Artifacts, 0)
assert.Empty(t, listResp.Artifacts)
}

func TestActionsArtifactV4DeletePublicApi(t *testing.T) {
Expand Down
0