Commit 799dc52f authored by madengji's avatar madengji Committed by vipwzw

take github action to check large file

parent 7bd17331
...@@ -12,6 +12,8 @@ jobs: ...@@ -12,6 +12,8 @@ jobs:
id: go id: go
- name: checkout - name: checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Intsall Golangci-lint - name: Intsall Golangci-lint
run: | run: |
...@@ -28,6 +30,7 @@ jobs: ...@@ -28,6 +30,7 @@ jobs:
- name: Lint - name: Lint
run: | run: |
make largefile-check
make checkgofmt && make fmt_go make checkgofmt && make fmt_go
make linter make linter
......
...@@ -23,7 +23,6 @@ pipeline { ...@@ -23,7 +23,6 @@ pipeline {
dir("${PROJ_DIR}"){ dir("${PROJ_DIR}"){
gitlabCommitStatus(name: 'deploy'){ gitlabCommitStatus(name: 'deploy'){
sh 'go version' sh 'go version'
sh 'make largefile-check'
sh 'make build_ci' sh 'make build_ci'
sh "cd build && mkdir ${env.BUILD_NUMBER} && cp ci/* ${env.BUILD_NUMBER} -r && ./docker-compose-pre.sh modify && cp chain33* Dockerfile* docker* *.sh ${env.BUILD_NUMBER}/ && cd ${env.BUILD_NUMBER}/ && ./docker-compose-pre.sh run ${env.BUILD_NUMBER} all " sh "cd build && mkdir ${env.BUILD_NUMBER} && cp ci/* ${env.BUILD_NUMBER} -r && ./docker-compose-pre.sh modify && cp chain33* Dockerfile* docker* *.sh ${env.BUILD_NUMBER}/ && cd ${env.BUILD_NUMBER}/ && ./docker-compose-pre.sh run ${env.BUILD_NUMBER} all "
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment