mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
fix license-header workflow (#5158)
This commit is contained in:
parent
3543a8ac2c
commit
3a26ea7b7f
4
.github/workflows/license-header.yml
vendored
4
.github/workflows/license-header.yml
vendored
@ -15,11 +15,11 @@ jobs:
|
|||||||
- name: Set up Golang
|
- name: Set up Golang
|
||||||
uses: actions/setup-go@v2
|
uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
go-version: '^1.15.1'
|
go-version: '^1.18.0'
|
||||||
- name: Install addlicense
|
- name: Install addlicense
|
||||||
run: |
|
run: |
|
||||||
export PATH=${PATH}:`go env GOPATH`/bin
|
export PATH=${PATH}:`go env GOPATH`/bin
|
||||||
go get -v -u github.com/google/addlicense
|
go install github.com/google/addlicense@v1.0.0
|
||||||
- name: Check license headers
|
- name: Check license headers
|
||||||
run: |
|
run: |
|
||||||
set -e
|
set -e
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user