Skip to content

CI: Переезд с Gitlab CI на GitHub Actions#24

Merged
valker merged 5 commits intomasterfrom
github-actions
Jan 10, 2026
Merged

CI: Переезд с Gitlab CI на GitHub Actions#24
valker merged 5 commits intomasterfrom
github-actions

Conversation

@kylichist
Copy link
Copy Markdown
Collaborator

@kylichist kylichist commented Jan 10, 2026

Переписал .gitlab-ci.yml на структуру CI GitHub Actions. Тестовая сборка без кэша собралась за 3.5 минуты (без кэша, с кэшем 1 минута total), что быстрее на 1.5 минуты чем GitLab CI.

@kylichist kylichist requested a review from valker January 10, 2026 01:56
@kylichist kylichist self-assigned this Jan 10, 2026
Copilot AI review requested due to automatic review settings January 10, 2026 01:56
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request migrates the CI/CD pipeline from GitLab CI to GitHub Actions. The migration maintains the same three build stages (lintDebug, assembleDebug, debugTests) while taking advantage of GitHub Actions features like workflow concurrency control and path-based triggers.

Key changes:

  • Replaced .gitlab-ci.yml with GitHub Actions workflow and composite action
  • Extracted common setup steps into a reusable composite action (.github/actions/android-setup)
  • Implemented improved caching strategy using GitHub Actions cache with content-based keys

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 6 comments.

File Description
.gitlab-ci.yml Complete removal of GitLab CI configuration
.github/workflows/android-ci.yml New GitHub Actions workflow implementing the three CI jobs with path-based triggers and concurrency control
.github/actions/android-setup/action.yml Reusable composite action encapsulating JDK setup, caching, and Android SDK installation

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/actions/android-setup/action.yml Outdated
Comment thread .github/actions/android-setup/action.yml Outdated
@kylichist
Copy link
Copy Markdown
Collaborator Author

Копилот прав, завтра исправлю

@kylichist kylichist marked this pull request as draft January 10, 2026 02:02
Repository owner deleted a comment from Copilot AI Jan 10, 2026
Repository owner deleted a comment from Copilot AI Jan 10, 2026
Repository owner deleted a comment from Copilot AI Jan 10, 2026
Repository owner deleted a comment from Copilot AI Jan 10, 2026
…ытии пулл-реквеста, исправляет проблему с неинициализированной переменной окружения
@kylichist kylichist marked this pull request as ready for review January 10, 2026 15:34
@kylichist
Copy link
Copy Markdown
Collaborator Author

Лучше останемся на JDK 21 для CI. Почитал про проблемы совместимости.

@valker valker merged commit f91e88b into master Jan 10, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants