Skip to content

sudo issue #104

@mehrdadrad

Description

@mehrdadrad

I configured go-version 1.15 and everything works properly without sudo. once I put the sudo then the Go available version with supper user is 1.14.x. any workaround to have Go 1.15 for supper user?

  runs-on: ubuntu-20.04
  steps:
     - name: Set up Golang
        uses: actions/setup-go@v2
        with:
          go-version: ^1.15
     - name: Check out code
        uses: actions/checkout@v2
     - name: Test
        run: sudo go test ./... -timeout 5m

you can see what happened here

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions