Skip to content

Commit 35c6a15

Browse files
Enable basic GitHub Actions CI
1 parent 08a512c commit 35c6a15

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: ci
2+
on: [push, pull_request]
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v2
8+
- uses: actions/setup-java@v1
9+
with:
10+
java-version: 1.8
11+
- uses: gradle/wrapper-validation-action@v1
12+
- run: ./gradlew build

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# librootjava
2+
3+
[![ci][1]][2]
4+
15
Example code for "How-To SU"
26

37
For some outdated background details, see:
@@ -418,3 +422,6 @@ dependencies {
418422
implementation 'eu.chainfire:libsuperuser:1.0.0.+'
419423
}
420424
```
425+
426+
[1]: https://github.com/Chainfire/libsuperuser/workflows/ci/badge.svg
427+
[2]: https://github.com/Chainfire/libsuperuser/actions

0 commit comments

Comments
 (0)