getAlby / nostr-wallet-connect-next

Nostr Wallet Connect (NIP-47) application to allow apps to connect to your node
https://nwc.getalby.com
Apache License 2.0
8 stars 3 forks source link

fix: use Go version from go.mod in Github actions #526

Closed rdmitr closed 1 week ago

rdmitr commented 1 week ago

This is intended to ensure consistency of Go versions in go.mod and in Github actions and releases, as well as to fix tar warnings originating from the setup-go action:

Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2

The workaround, as suggested by https://github.com/actions/setup-go/issues/424, is to use exactly the same version of Go in the Github actions as the one specified in go.mod.

Additionally, this PR removes the toolchain directive from go.mod as unneeded (and it also causes the tar error mentioned above)