The GitHub.com server returns a 403 or 429 status code in case of rate- limiting.
This commit adds a check for those status codes and tries to fetch the latest volta version from https://volta.sh/latest-version instead.
The implementation is somewhat analog to how setup-node is implemented:
The GitHub.com server returns a 403 or 429 status code in case of rate- limiting. This commit adds a check for those status codes and tries to fetch the latest volta version from https://volta.sh/latest-version instead.
The implementation is somewhat analog to how setup-node is implemented:
Fixes: #108