Taskfile.yaml 618 B

123456789101112131415161718192021222324
  1. version: '3'
  2. tasks:
  3. move-to-production:
  4. desc: Move the current branch to production
  5. cmds:
  6. - cmd: git tag -d production
  7. ignore_error: false
  8. silent: true
  9. - cmd: git push origin :production
  10. ignore_error: false
  11. silent: true
  12. - cmd: git tag production
  13. ignore_error: false
  14. silent: true
  15. - cmd: git push origin production
  16. ignore_error: false
  17. silent: true
  18. lint:
  19. desc: Run all available linters. This mimics any checks performed in Pull Request pre-merge checks
  20. cmd: golangci-lint run -c .github/golangci-lint.yaml
  21. env:
  22. GOWORK: off