Skip to content

Commit

Permalink
Create ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Domi04151309 committed Dec 25, 2023
1 parent 59e4c13 commit 7c4e408
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github: Domi04151309
custom: ['https://www.paypal.com/donate/?hosted_button_id=487FTCX52P9WA']
50 changes: 50 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Continuous Integration

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
ktlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install
run: |
curl -sSLO https://github.com/pinterest/ktlint/releases/download/1.0.1/ktlint
chmod a+x ktlint
sudo mv ktlint /usr/local/bin/
- name: Run
run: ktlint
detekt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Run
run: |
chmod +x gradlew
./gradlew detekt
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Run
run: |
chmod +x gradlew
./gradlew build
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![App Icon](https://raw.githubusercontent.com/Domi04151309/PowerApp/master/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png)
![App Icon](https://raw.githubusercontent.com/Domi04151309/PowerApp/master/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp)
# Power App for Android™
This App offers you a lot of different power options like shutting down, rebooting, soft rebooting, rebooting into recovery, rebooting into the bootloader, restarting System UI and turning off your screen.

Expand All @@ -8,9 +8,14 @@ This App offers you a lot of different power options like shutting down, rebooti
[<img src="https://fdroid.gitlab.io/artwork/badge/get-it-on.png"
alt="Get it on F-Droid"
height="80">](https://f-droid.org/packages/io.github.domi04151309.powerapp/)
[<img src="https://play.google.com/intl/en_us/badges/images/generic/en-play-badge.png"
alt="Get it on Google Play"
height="80">](https://play.google.com/store/apps/details?id=io.github.domi04151309.powerapp)

## Donate

Support the development by donating.

<a href="https://www.paypal.com/donate/?hosted_button_id=487FTCX52P9WA">
<img src="https://img.shields.io/badge/-Donate-black?style=for-the-badge&logo=paypal" alt="Donate">
</a>

## Previews
<img src="https://raw.githubusercontent.com/Domi04151309/PowerApp/master/fastlane/metadata/android/en-US/images/phoneScreenshots/1.jpg" width="18%" /><img src="https://raw.githubusercontent.com/Domi04151309/PowerApp/master/fastlane/metadata/android/en-US/images/phoneScreenshots/2.jpg" width="18%" /><img src="https://raw.githubusercontent.com/Domi04151309/PowerApp/master/fastlane/metadata/android/en-US/images/phoneScreenshots/3.jpg" width="18%" />
Expand Down

0 comments on commit 7c4e408

Please sign in to comment.