ci-kotlin.yml 549 B

1234567891011121314151617181920212223242526
  1. name: kotlin
  2. on:
  3. push:
  4. branches:
  5. - main
  6. pull_request:
  7. jobs:
  8. build:
  9. name: test
  10. runs-on: ubuntu-latest
  11. steps:
  12. - uses: actions/checkout@v4
  13. - uses: actions/setup-go@v5
  14. with:
  15. go-version: '1.21.3'
  16. - name: install ./...
  17. run: go install ./...
  18. - uses: actions/checkout@v4
  19. with:
  20. repository: sqlc-dev/sqlc-gen-kotlin
  21. path: kotlin
  22. - run: make test
  23. working-directory: kotlin
  24. - run: sqlc diff
  25. working-directory: kotlin/examples