You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
584 B

  1. ---
  2. kind: pipeline
  3. name: compliance
  4. platform:
  5. os: linux
  6. arch: arm64
  7. trigger:
  8. event:
  9. - pull_request
  10. steps:
  11. - name: check
  12. pull: always
  13. image: golang:1.14
  14. environment:
  15. GOPROXY: https://goproxy.cn
  16. commands:
  17. - make build
  18. - make lint
  19. - make vet
  20. ---
  21. kind: pipeline
  22. name: build-master
  23. platform:
  24. os: linux
  25. arch: amd64
  26. trigger:
  27. branch:
  28. - master
  29. event:
  30. - push
  31. steps:
  32. - name: build
  33. pull: always
  34. image: techknowlogick/xgo:latest
  35. environment:
  36. GOPROXY: https://goproxy.cn
  37. commands:
  38. - make build