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.

.drone.yml 656B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. ---
  2. kind: pipeline
  3. name: compliance
  4. platform:
  5. os: linux
  6. arch: amd64
  7. steps:
  8. - name: lint
  9. pull: always
  10. image: golang:1.14
  11. commands:
  12. - make fmt-check
  13. - make misspell-check
  14. - make lint
  15. - name: test
  16. pull: always
  17. image: golang:1.14
  18. commands:
  19. - make test
  20. depends_on:
  21. - lint
  22. - name: coverage
  23. pull: always
  24. image: robertstettner/drone-codecov
  25. settings:
  26. files:
  27. - coverage.out
  28. environment:
  29. CODECOV_TOKEN:
  30. from_secret: codecov_token
  31. depends_on:
  32. - test
  33. when:
  34. branch:
  35. - master
  36. event:
  37. - push
  38. - pull_request