Print installed version and environment info after installing
See original GitHub issueWith allowed versions like 1.13.x
, and potentially latest
(#31) / tip
(#21) in the future, I’d like to see the action print out the version it installed after it completes. Right now, you just get:
Run actions/setup-go@v1
with:
go-version: 1.12.x
/bin/tar xzC /home/runner/work/_temp/a019414e-aed8-4b3a-ab61-ad7003d09d12 -f /home/runner/work/_temp/8575e7d9-8f51-4d45-b8d0-0461f5b12f08
Added matchers: 'go'. Problem matchers scan action output for known warning or error strings and report these inline.
Which says nothing about what actually got installed.
Compare this to travis_setup_go
, which will give you:
$ travis_setup_go
go version go1.13.5 linux/amd64
$ export GOPATH="/home/travis/gopath"
$ export PATH="/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.13.5.linux.amd64/bin:/home/travis/bin:/home/travis/bin:/home/travis/.local/bin:/usr/local/lib/jvm/openjdk11/bin:/opt/pyenv/shims:/home/travis/.phpenv/shims:/home/travis/perl5/perlbrew/bin:/home/travis/.nvm/versions/node/v8.12.0/bin:/home/travis/.rvm/gems/ruby-2.5.3/bin:/home/travis/.rvm/gems/ruby-2.5.3@global/bin:/home/travis/.rvm/rubies/ruby-2.5.3/bin:/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.11.1.linux.amd64/bin:/usr/local/maven-3.6.0/bin:/usr/local/cmake-3.12.4/bin:/usr/local/clang-7.0.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/home/travis/.rvm/bin:/home/travis/.phpenv/bin:/opt/pyenv/bin:/home/travis/.yarn/bin"
$ export GO111MODULE="on"
$ gimme version
v1.5.3
$ go version
go version go1.13.5 linux/amd64
$ go env
< snipped >
Or for tip
:
$ travis_setup_go
go version devel +7d30af8e17 Fri Dec 13 20:41:04 2019 +0000 linux/amd64
$ export GOPATH="/home/travis/gopath"
$ export PATH="/home/travis/gopath/bin:/home/travis/.gimme/versions/go/bin:/home/travis/bin:/home/travis/bin:/home/travis/.local/bin:/usr/local/lib/jvm/openjdk11/bin:/opt/pyenv/shims:/home/travis/.phpenv/shims:/home/travis/perl5/perlbrew/bin:/home/travis/.nvm/versions/node/v8.12.0/bin:/home/travis/.rvm/gems/ruby-2.5.3/bin:/home/travis/.rvm/gems/ruby-2.5.3@global/bin:/home/travis/.rvm/rubies/ruby-2.5.3/bin:/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.11.1.linux.amd64/bin:/usr/local/maven-3.6.0/bin:/usr/local/cmake-3.12.4/bin:/usr/local/clang-7.0.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/home/travis/.rvm/bin:/home/travis/.phpenv/bin:/opt/pyenv/bin:/home/travis/.yarn/bin"
$ export GO111MODULE="on"
$ gimme version
v1.5.3
$ go version
go version devel +7d30af8e17 Fri Dec 13 20:41:04 2019 +0000 linux/amd64
$ go env
< snipped >
Which gives much more information about the Go environment that the job used.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:11 (7 by maintainers)
Top Results From Across the Web
KB5005652—Manage new Point and Print default driver ...
Install print drivers when the new default setting is enforced. If you set RestrictDriverInstallationToAdministrators as not defined or to 1, depending on your ......
Read more >How to List Installed Python Packages - ActiveState
To list installed packages in an Anaconda environment using Anaconda Navigator, do the following: Start the Anaconda Navigator application.
Read more >python - Find which version of package is installed with pip
I know about pip install XYZ --upgrade but I am wondering if there is anything like pip info XYZ . If not what...
Read more >Check the version of Python package/library - nkmk note
If you are using the Python package management system pip, you can check the information of the installed package with the following command....
Read more >Managing environments - Conda
With conda, you can create, export, list, remove, and update environments that have different versions of Python and/or packages installed in them.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@sagikazarmark - here ya go. in master now. I’ll push to
v2-beta
Thanks!