actions-goveralls icon indicating copy to clipboard operation
actions-goveralls copied to clipboard

Version 0.0.8 fails with failed to fetch git ref

Open mjroeleveld opened this issue 3 years ago • 2 comments

Since 0.0.8 is out, the action fails with the following error:

Run goveralls -coverprofile=coverage.out -service=github
  goveralls -coverprofile=coverage.out -service=github
  shell: /usr/bin/bash -e {0}
  env:
    GOROOT: /opt/hostedtoolcache/go/1.16.0/x64
    COVERALLS_TOKEN: ***
failed to fetch git ref "950bd358815a7fb0c9803413b904f94c789c99d8": exit status 128

Version 0.0.7 works.

mjroeleveld avatar Mar 08 '21 13:03 mjroeleveld

can I have whole log and your workflow YAML settings? If jobs are running on public repository, it is the best way to share the repository url.

shogo82148 avatar Mar 09 '21 10:03 shogo82148

The step settings are:

      - name: Upload coverage to Coveralls
        env:
          COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        run: goveralls -coverprofile=coverage.out -service=github

Logs:

2021-03-08T14:57:49.9861787Z ##[group]Run go get github.com/mattn/goveralls
2021-03-08T14:57:49.9862517Z [36;1mgo get github.com/mattn/goveralls[0m
2021-03-08T14:57:49.9913450Z shell: /usr/bin/bash -e {0}
2021-03-08T14:57:49.9913887Z env:
2021-03-08T14:57:49.9914402Z   GOROOT: /opt/hostedtoolcache/go/1.16.0/x64
2021-03-08T14:57:49.9915074Z ##[endgroup]
2021-03-08T14:57:50.1348685Z go: downloading github.com/mattn/goveralls v0.0.8
2021-03-08T14:57:50.1927606Z go: downloading golang.org/x/tools v0.1.0
2021-03-08T14:57:51.6373397Z go get: added github.com/mattn/goveralls v0.0.8
2021-03-08T14:57:51.6455046Z ##[group]Run goveralls -coverprofile=coverage.out -service=github
2021-03-08T14:57:51.6455999Z [36;1mgoveralls -coverprofile=coverage.out -service=github[0m
2021-03-08T14:57:51.6496912Z shell: /usr/bin/bash -e {0}
2021-03-08T14:57:51.6497336Z env:
2021-03-08T14:57:51.6497824Z   GOROOT: /opt/hostedtoolcache/go/1.16.0/x64
2021-03-08T14:57:51.6499407Z   COVERALLS_TOKEN: ***
2021-03-08T14:57:51.6499848Z ##[endgroup]
2021-03-08T14:58:01.4329905Z failed to fetch git ref "afe6ae0424bf9cc5e53df78d5659cafffc7e4c78": exit status 128
2021-03-08T14:58:01.4347446Z ##[error]Process completed with exit code 1.

Unfortunately the repository is not public.

mjroeleveld avatar Mar 09 '21 10:03 mjroeleveld