Add publish to maven workflow #413
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Code quality | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v2 | |
- name: Run unit tests | |
run: ./gradlew test | |
- name: Run detekt | |
run: ./gradlew detekt | |
- name: Run android lint | |
run: ./gradlew lint | |
- name: Build project | |
run: ./gradlew assemble | |