Skip to content

Commit

Permalink
Update GitHub Action for PRs to use go 1.15.13
Browse files Browse the repository at this point in the history
This is required due to golang/go#44557 -- go
1.16 deprecates the ioutil package and introduces a new package io in
its place. Go versions below 1.15.10 can fail if a library or dependency
uses the go 1.16 package, e.g. for addlicense:

build github.com/google/addlicense: cannot load io/fs: malformed module path "io/fs": missing dot in first path element

This commit updates to Go 1.15.13, as that is what's used in the current
builder image for the controller

Signed-off-by: Angel Misevski <[email protected]>
  • Loading branch information
amisevsk committed Aug 10, 2021
1 parent 0f248ed commit 85ac940
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: 1.13
go-version: 1.15.13
-
name: Set up Python 3.8
uses: actions/setup-python@v2
Expand Down

0 comments on commit 85ac940

Please sign in to comment.