mirror actions/setup-go@v5

This commit is contained in:
action-mirror
2026-09-13 22:52:54 +08:00
commit 38ca396734
130 changed files with 212928 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
#!/bin/sh
if [ -z "$1" ]; then
echo "Must supply go version argument"
exit 1
fi
go_version="$(go version)"
echo "Found go version '$go_version'"
if [ -z "$(echo $go_version | grep $1)" ]; then
echo "Unexpected version"
exit 1
fi