Skip to content

Configuração do ktlint no merge de PR#7

Open
Lucasemboava wants to merge 1 commit into
devpass-tech:mainfrom
Lucasemboava:ktlintOnPipeline
Open

Configuração do ktlint no merge de PR#7
Lucasemboava wants to merge 1 commit into
devpass-tech:mainfrom
Lucasemboava:ktlintOnPipeline

Conversation

@Lucasemboava
Copy link
Copy Markdown
Contributor

  • Adicionado arquivo yml para executar ação do ktlint em PR
  • Adicionado arquivo yml para executar ação do ktlint em push e pull request
  • Adicionado arquivo .editorconfig

@@ -0,0 +1,26 @@
name: Android Build

on: pull_request
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Ja temos um script para a pipeline de PR, vamos usar este : D

java-version: 1.8

- name: Run Lint
run: ./gradlew lintDebug
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Aqui quermos usar a task ktlint

run: ./gradlew test

- name: Build Project
run: ./gradlew assemble
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Não tem problema dar um assemble

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants