You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2021/01/20 12:45:54 UTC

[GitHub] [skywalking-satellite] EvanLjp edited a comment on pull request #18: Include go.sum|go.mod in CI consistency

EvanLjp edited a comment on pull request #18:
URL: https://github.com/apache/skywalking-satellite/pull/18#issuecomment-763579830


   But in the history cases, the `go mod tidy` is not stable in the different machines to add `// indirect`
   
   how about following way?
   ```
   check: clean
   	$(OUT_DIR)/$(BINARY)-$(VERSION)-$(OSNAME)-$(ARCH) docs
   	$(GO) mod tidy &> /dev/null
   	@if ! git status -s | grep -v '// indirect'; then \
   		echo "Following files are not consistent with CI:"; \
   		git status -s | grep -v '// indirect'; \
   		exit 1; \
   	fi
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org