trevjonez / composer-gradle-plugin

Gradle task type and plugin for interacting with https://github.com/gojuno/composer
Apache License 2.0
54 stars 18 forks source link

Bootstrap Github Actions CI pipeline #60

Closed plastiv closed 4 years ago

plastiv commented 4 years ago

Bootstrap ./gradlew build CI pipeline based on github actions. Relates to https://github.com/trevjonez/composer-gradle-plugin/issues/36

There is no additional registration or configuration seems to be needed. Execution time is also decent. Currently its ~5min including starting android emulator https://github.com/plastiv/composer-gradle-plugin/runs/473061103?check_suite_focus=true

I have mostly copy-pasted inspired from https://github.com/slackhq/keeper/blob/master/.github/workflows/ci.yml

I haven't included gradle dependency or build cache optimization for now. As well as uploading snapshot or publishing tasks. That is something to consider later.

plastiv commented 4 years ago

Thank you for spending the time to figure this out!

Any idea if I can enable it in this PR or must it land in master to work?

Must be a security measure. Master is not necessary I believe. Can be merged to other branch first.