* validateDictionaries gradle task now makes use of caching for much faster builds * lowered the severity of missing translations linting rule * fixed some more errors in the translations * added linting task to the GitHub CI validation workflow * enabled GitHub CI validation on push to master
27 lines
505 B
YAML
27 lines
505 B
YAML
name: Build the Project
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- "**"
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
# setup
|
|
- name: Checkout project sources
|
|
uses: actions/checkout@v2
|
|
- name: Setup Gradle
|
|
uses: gradle/gradle-build-action@v2
|
|
|
|
# validation
|
|
- name: Validate Dictionaries
|
|
run: ./gradlew validateDictionaries
|
|
- name: Lint
|
|
run: ./gradlew lint
|
|
- name: Build Release APK
|
|
run: ./gradlew build
|