Skip to content

Commit 2d0d1f1

Browse files
committed
Add GitHub workflows
1 parent a455dcb commit 2d0d1f1

File tree

4 files changed

+80
-0
lines changed

4 files changed

+80
-0
lines changed

.github/CODEOWNERS

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Lines starting with '#' are comments.
2+
# Each line is a file pattern followed by one or more owners.
3+
4+
# More details are here: https://help.github.com/articles/about-codeowners/
5+
6+
# The '*' pattern is global owners.
7+
# Not adding in this PR, but I'd like to try adding a global owner set with the entire team.
8+
# One interpretation of their docs is that global owners are added only if not removed
9+
# by a more local rule.
10+
11+
# Order is important. The last matching pattern has the most precedence.
12+
# The folders are ordered as follows:
13+
14+
# In each subsection folders are ordered first by depth, then alphabetically.
15+
# This should make it easy to add new rules without breaking existing ones.
16+
* @skydoves

.github/dependabot.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "gradle" # See documentation for possible values
9+
directory: "/" # Location of package manifests
10+
schedule:
11+
interval: "daily"
12+
# Allow up to 10 open pull requests for pip dependencies
13+
open-pull-requests-limit: 10

.github/pull_request_template.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
### 🎯 Goal
2+
Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue.
3+
4+
### 🛠 Implementation details
5+
Describe the implementation details for this Pull Request.
6+
7+
### ✍️ Explain examples
8+
Explain examples with code for this updates.
9+
10+
### Preparing a pull request for review
11+
Ensure your change is properly formatted by running:
12+
13+
```gradle
14+
$ ./gradlew spotlessApply
15+
```
16+
17+
Please correct any failures before requesting a review.

.github/workflows/android.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Android CI
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
15+
- name: set up JDK
16+
uses: actions/setup-java@v1
17+
with:
18+
distribution: adopt
19+
java-version: 17
20+
21+
- name: Cache Gradle and wrapper
22+
uses: actions/cache@v2
23+
with:
24+
path: |
25+
~/.gradle/caches
26+
~/.gradle/wrapper
27+
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
28+
restore-keys: |
29+
${{ runner.os }}-gradle-
30+
- name: Make Gradle executable
31+
run: chmod +x ./gradlew
32+
33+
- name: Build with Gradle
34+
run: ./gradlew build

0 commit comments

Comments
 (0)