diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index a309226773d1a207c57430f2a3814867868ab34b..c18fe490a84b520582b2560ad678813fc3c7aab9 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -27,30 +27,30 @@ jobs: - name: Check out code into the Go module directory uses: actions/checkout@v2 - - name: Get dependencies - run: | - go get -v -t -d ./... - if [ -f Gopkg.toml ]; then - curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh - dep ensure - fi +# - name: Get dependencies +# run: | +# go get -v -t -d ./... +# if [ -f Gopkg.toml ]; then +# curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh +# dep ensure +# fi - - name: License Check - run: | - go fmt ./... && [[ -z `git status -s` ]] - sh before_validate_license.sh - chmod u+x /tmp/tools/license/license-header-checker - /tmp/tools/license/license-header-checker -v -a -r -i vendor /tmp/tools/license/license.txt . go && [[ -z `git status -s` ]] +# - name: License Check +# run: | +# go fmt ./... && [[ -z `git status -s` ]] +# sh before_validate_license.sh +# chmod u+x /tmp/tools/license/license-header-checker +# /tmp/tools/license/license-header-checker -v -a -r -i vendor /tmp/tools/license/license.txt . go && [[ -z `git status -s` ]] - - name: Test - run: | - chmod u+x before_ut.sh && ./before_ut.sh - go mod vendor && go test ./... -coverprofile=coverage.txt -covermode=atomic - export COMPOSE_INTERACTIVE_NO_CLI=1 - chmod +x integrate_test.sh && ./integrate_test.sh +# - name: Test +# run: | +# chmod u+x before_ut.sh && ./before_ut.sh +# go mod vendor && go test ./... -coverprofile=coverage.txt -covermode=atomic +# export COMPOSE_INTERACTIVE_NO_CLI=1 +# chmod +x integrate_test.sh && ./integrate_test.sh - - name: Coverage - run: bash <(curl -s https://codecov.io/bash) +# - name: Coverage +# run: bash <(curl -s https://codecov.io/bash) - name: DingDing Notify Action # You may pin to the exact commit or the version. @@ -59,6 +59,7 @@ jobs: with: # DingDing bot token dingToken: ff0ff436a50c2aa41b7e3c92a0b1f68c302bd9873370aea0da59579ff23461f5 + secret: SECffddfca8e454f238ec528532cada0e0d4d9c7f514bc171bdeddc39d164da6145 # Post Body to send body: | {