Skip to content

Installing go through this action currently fails #21

@found-it

Description

@found-it

This isn't necessarily an issue with this action but I wanted to file an issue here to hopefully save folks some troubleshooting time.

My CI was running dominikh/staticcheck-action and I was randomly faced with this error.

Run dominikh/staticcheck-action@fe1dd0c3658873b46f8c9bb3291096a617310ca6
Run WillAbides/setup-go-faster@v1.14.0
Run src/run
  src/run
  shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
  env:
    TARGET_ARCH: x86_64
    DEBUG: 
    IGNORE_LOCAL_GO: 
    GO_VERSION: stable
    GO_VERSION_FILE: 
    ANNOTATE_TEST_LOGS: 
Error: Process completed with exit code 22.

I was able to fork WillAbides/setup-go-faster and do some debugging and ultimately tracked it down to

# curl --retry 4 --fail -O https://storage.googleapis.com/golang/go1.25.3.linux-amd64.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0   298    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 403

# echo $?
22

NOTE: This will only affect this action (for the time being) if the install-go: true input is used.

I filed an issue on the correct repo WillAbides/setup-go-faster#37, but just wanted to link here in case others see this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions