ci(develop) fix golint for code and lic (#736)

This commit is contained in:
cuisongliu
2021-12-08 23:07:39 +08:00
committed by GitHub
parent 394a895462
commit 5bfc7f0ded
100 changed files with 2449 additions and 1930 deletions
+5 -1
View File
@@ -21,8 +21,12 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: ${{ env.GO_VERSION }}
- name: Run Check License
run:
run: |
wget https://github.com/google/addlicense/releases/download/v1.0.0/addlicense_1.0.0_Linux_x86_64.tar.gz
tar -zxvf addlicense_1.0.0_Linux_x86_64.tar.gz -C $(go env GOPATH)/bin
chmod a+x $(go env GOPATH)/bin/addlicense