Ensure automation uses pinned go-licenses version
This commit is contained in:
parent
9ce1aeeb1c
commit
728e973a20
3 changed files with 11 additions and 2 deletions
3
.github/workflows/lint.yml
vendored
3
.github/workflows/lint.yml
vendored
|
|
@ -54,8 +54,11 @@ jobs:
|
|||
# actions/setup-go does not setup the installed toolchain to be preferred over the system install,
|
||||
# which causes go-licenses to raise "Package ... does not have module info" errors.
|
||||
# for more information, https://github.com/google/go-licenses/issues/244#issuecomment-1885098633
|
||||
#
|
||||
# go-licenses has been pinned for automation use.
|
||||
- name: Check licenses
|
||||
run: |
|
||||
export GOROOT=$(go env GOROOT)
|
||||
export PATH=${GOROOT}/bin:$PATH
|
||||
go install github.com/google/go-licenses@5348b744d0983d85713295ea08a20cca1654a45e
|
||||
make licenses-check
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue