Description
Running the trusted root tests leaves debris in the local working directories.
➜ go test -tags=integration ./pkg/cmd/attestation/trustedroot -count 1
ok github.com/cli/cli/v2/pkg/cmd/attestation/trustedroot 0.337s
➜ ✗ git status
On branch 9897-gh-cache-delete-exit-code
Untracked files:
(use "git add <file>..." to include in what will be committed)
pkg/cmd/attestation/verification/tuf-repo-cdn.sigstore.dev.json
pkg/cmd/attestation/verification/tuf-repo.github.com.json
nothing added to commit but untracked files present (use "git add" to track)
Expected Output
The expected output for this work is:
- These tests do not leave debris in the current directory, preferably by ensuring these files go to tmp and are cleaned up after run
Description
Running the trusted root tests leaves debris in the local working directories.
Expected Output
The expected output for this work is: