Skip to content

digitalr00ts/action-setup-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Action: Setup Go

  • Installs Go
  • Sets up cache for:
    • GOCACHE
    • GOMODCACHE
  • Sets up access for private modules

Usage

Inputs

label default required description
go-version No The Go version to use.
stable true Yes Use only stable version.
ssh-private-key No SSH key to access private repositories.

Example

jobs:
  docker-pull:
    runs-on: ubuntu-latest
    steps:
    - uses: RallyGo/action-setup-go@v0
      with:
        go-version: '^1.17'
        ssh-private-key: ${{ secrets.GLOBAL_GITHUB_SSH_KEY }}
    - run: go version

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors