use gh-attestation branch for passing iostreams from the root

Signed-off-by: Meredith Lancaster <malancas@github.com>
This commit is contained in:
Meredith Lancaster 2024-02-13 15:21:50 -07:00
parent cd221b7d1e
commit e3ae656fc6
3 changed files with 6 additions and 6 deletions

2
go.mod
View file

@ -16,7 +16,7 @@ require (
github.com/creack/pty v1.1.21
github.com/gabriel-vasile/mimetype v1.4.3
github.com/gdamore/tcell/v2 v2.5.4
github.com/github/gh-attestation v0.3.0
github.com/github/gh-attestation v0.3.1-0.20240213221736-bd06290fa8ee
github.com/google/go-cmp v0.6.0
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
github.com/gorilla/websocket v1.5.0

4
go.sum
View file

@ -148,8 +148,8 @@ github.com/gdamore/encoding v1.0.0 h1:+7OoQ1Bc6eTm5niUzBa0Ctsh6JbMW6Ra+YNuAtDBdk
github.com/gdamore/encoding v1.0.0/go.mod h1:alR0ol34c49FCSBLjhosxzcPHQbf2trDkoo5dl+VrEg=
github.com/gdamore/tcell/v2 v2.5.4 h1:TGU4tSjD3sCL788vFNeJnTdzpNKIw1H5dgLnJRQVv/k=
github.com/gdamore/tcell/v2 v2.5.4/go.mod h1:dZgRy5v4iMobMEcWNYBtREnDZAT9DYmfqIkrgEMxLyw=
github.com/github/gh-attestation v0.3.0 h1:g6rCfmh3361+HwS0XGkYExVyUnxi5qz6PoBD4+7i/MY=
github.com/github/gh-attestation v0.3.0/go.mod h1:mEvQIAwWSDZ91gGGV+A6IX3UO10SPUEdjmGLYnlcThY=
github.com/github/gh-attestation v0.3.1-0.20240213221736-bd06290fa8ee h1:YXfnpepX2RkuDYsbKITBNJW6Di+h6E7cKImXa2vQ8wk=
github.com/github/gh-attestation v0.3.1-0.20240213221736-bd06290fa8ee/go.mod h1:mEvQIAwWSDZ91gGGV+A6IX3UO10SPUEdjmGLYnlcThY=
github.com/go-chi/chi v4.1.2+incompatible h1:fGFk2Gmi/YKXk0OmGfBh0WgmN3XB8lVnEyNz34tQRec=
github.com/go-chi/chi v4.1.2+incompatible/go.mod h1:eB3wogJHnLi3x/kFX2A+IbTBlXxmMeXJVKy9tTv1XzQ=
github.com/go-jose/go-jose/v3 v3.0.1 h1:pWmKFVtt+Jl0vBZTIpz/eAKwsm6LkIxDVVbFHKkchhA=

View file

@ -13,9 +13,9 @@ func NewCmdAttestation(io *iostreams.IOStreams, version, buildDate string) *cobr
Short: "attestations",
}
root.AddCommand(app.NewDownloadCmd(version, buildDate))
root.AddCommand(app.NewVerifyCmd(version, buildDate))
root.AddCommand(app.NewTUFRootVerifyCmd())
root.AddCommand(app.NewDownloadCmd(io, version, buildDate))
root.AddCommand(app.NewVerifyCmd(io, version, buildDate))
root.AddCommand(app.NewTUFRootVerifyCmd(io))
return root
}