Kotlin in GitHub Actions: Broadening KMP Horizons
summary
Shows how to write GitHub Actions using Kotlin/JS by targeting Kotlin Multiplatform’s JavaScript output so Actions can be authored in Kotlin instead of JavaScript. Presents a practical how-to guide and an experience report from converting a Scala lead-time tool into a custom Kotlin-based GitHub Action, covering why and how to implement and run such CI/CD actions.
AI-written summary · about
chapters (22)
- 0:00Introduction
- 3:30Talk overview
- 5:15GitHub Actions and KMP
- 9:13Why custom actions
- 11:25Custom action types
- 12:27Node.js in GitHub Actions
- 14:31Simple JS action
- 16:17JavaScript code breakdown
- 18:54Packaging with ncc
- 19:38Switching to Kotlin JS
- 21:51KMP project setup
- 23:42Writing Kotlin code
- 25:48ncc integration in Gradle
- 26:51ncc via Gradle module
- 29:01Hello World action
- 29:23Real example: Time to Commit
- 33:18Kotlin action logic
- 34:50Output and integration
- 36:16Project template and deps
- 37:26esbuild alternative
- 38:58Summary
- 40:25Q&A
related talks
45mLights, Camera, GitHub Actions!
01h 47mDeveloper Workflow Automation with GitHub Actions
45mA Call to (GitHub) Actions!
56mLights, Camera, GitHub Actions!
47mLights, Camera, GitHub Actions!
24mGitHub Actions in Action
59mIntroduction to GitHub Actions
30mPragmatic, scalable, and ergonomic CI/CD using Github Actions and K8s.
