charmbracelet / lipgloss

Style definitions for nice terminal layouts 👄
MIT License
8.24k stars 231 forks source link

chore(ci): also build examples #310

Closed meowgorithm closed 5 months ago

meowgorithm commented 6 months ago

@aymanbagabas @caarlos0: Any idea why the SSH example doesn't build? Not working locally either, getting:

# github.com/caarlos0/sshmarshal
../../../../.go/pkg/mod/github.com/caarlos0/sshmarshal@v0.1.0/marshal.go:29:6: MarshalPrivateKey already declared through dot-import of package ssh ("golang.org/x/crypto/ssh")
        ../../../../.go/pkg/mod/golang.org/x/crypto@v0.17.0/ssh/keys.go:302:6: other declaration of MarshalPrivateKey
../../../../.go/pkg/mod/github.com/caarlos0/sshmarshal@v0.1.0/marshal.go:35:6: MarshalPrivateKeyWithPassphrase already declared through dot-import of package ssh ("golang.org/x/crypto/ssh")
        ../../../../.go/pkg/mod/golang.org/x/crypto@v0.17.0/ssh/keys.go:308:6: other declaration of MarshalPrivateKeyWithPassphrase
aymanbagabas commented 6 months ago

github.com/caarlos0/sshmarshal

github.com/caarlos0/sshmarshal is no longer needed and can be replaced with golang.org/x/crypto ssh package.

meowgorithm commented 6 months ago

Where’s the dependency? I checked charmbracelet/wish and charmbracelet/ssh and didn't see it.