Add ppc64le support by shahidhs-ibm · Pull Request #436 · actions/setup-go
As per comment, tried with go versions >= 1.21 on self-hosted ppc64le runners but issue is still getting reproduced.
Getting following error logs in runner :
Run actions/setup-go@v4
Setup go version spec 1.21
Attempting to download 1.21...
matching 1.21...
Not found in manifest. Falling back to download directly from Go
Install from dist
Acquiring go1.21.5 from https://storage.googleapis.com/golang/go1.21.5.linux-ppc64.tar.gz
Extracting Go...
/usr/bin/tar xz --warning=no-unknown-keyword --overwrite -C /opt/runner/_work/_temp/8a636f71-1358-4c04-b32f-6d996622f25d -f /opt/runner/_work/_temp/cbd160e3-ff36-4941-b1de-7f7381d28e15
Successfully extracted go to /opt/runner/_work/_temp/8a636f71-1358-4c04-b32f-6d996622f25d
Adding to the cache ...
Successfully cached go to /opt/runner/_work/_tool/go/1.21.5/ppc64
Added go to the path
Successfully set up Go version 1.21
/bin/sh: 1: go: Exec format error
So this PR is still valid.