Pipefail doesn't work with pipes

When I run 

set -euo pipefail

then I run any command with pipes( | ). It throws an error.

#[error]Process completed with exit code 1.

 Here is the log.

https://github.com/alonyb/krew-index/commit/f390fba3698f13bc3da5812537446c75f3e8d924/checks?check_suite_id=404057533#step:5:14 

If you can help me, it would be great! thank you!

The bash shell on GHA runs set -eo pipefail by default. You can find more information here:

It seems, actually it does not.