add infra module (#754)

* hotfix(master): add infra module
This commit is contained in:
cuisongliu
2021-12-19 18:38:03 +08:00
committed by GitHub
parent 5fde3d32f7
commit 905ceada4d
83 changed files with 2685 additions and 628 deletions
+1 -8
View File
@@ -2,7 +2,7 @@ name: CI
env:
# Common versions
GO_VERSION: '1.14'
GO_VERSION: '1.16'
on:
push:
@@ -27,10 +27,6 @@ jobs:
go-version: ${{ env.GO_VERSION }}
- name: Run Check License
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
rm -rf addlicense_1.0.0_Linux_x86_64.tar.gz
make filelicense
modifyCode=$(git status -s | grep M | wc -l)
git status -s
@@ -52,9 +48,6 @@ jobs:
with:
go-version: ${{ env.GO_VERSION }}
- name: Install go ci lint
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.39.0
- name: Run Linter
run: make lint