mirror of
https://github.com/containers/skopeo.git
synced 2025-08-19 06:57:08 +00:00
Pin Go to 1.16
1.17 has changed the expected gofmt format, and we don't want to follow such changes on the stable branch. go@1.16 is "keg-only", i.e. not installed by Brew to /usr/local/bin, so we need to change PATH to point at it (as the installation instructs us to). Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This commit is contained in:
parent
3bcdd2b5d6
commit
1b6d7f79a5
@ -90,12 +90,13 @@ osx_task:
|
||||
macos_instance:
|
||||
image: catalina-xcode
|
||||
setup_script: |
|
||||
export PATH=$GOPATH/bin:$PATH
|
||||
# /usr/local/opt/go@1.16 will be populated by (brew install go@1.16) below
|
||||
export PATH=$GOPATH/bin:/usr/local/opt/go@1.16/bin:$PATH
|
||||
brew update
|
||||
brew install gpgme go go-md2man
|
||||
brew install gpgme go@1.16 go-md2man
|
||||
go get -u golang.org/x/lint/golint
|
||||
test_script: |
|
||||
export PATH=$GOPATH/bin:$PATH
|
||||
export PATH=$GOPATH/bin:/usr/local/opt/go@1.16/bin:$PATH
|
||||
go version
|
||||
go env
|
||||
make validate-local test-unit-local bin/skopeo
|
||||
|
Loading…
Reference in New Issue
Block a user