Skip to content

Commit

Permalink
v.1.9.7
Browse files Browse the repository at this point in the history
Goodwy committed Feb 14, 2023
1 parent 3583cce commit b04c1d1
Showing 1,224 changed files with 35,095 additions and 39,742 deletions.
13 changes: 7 additions & 6 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
root = true

# noinspection EditorConfigKeyCorrectness
[*]
end_of_line = lf
insert_final_newline = true
@@ -8,9 +9,9 @@ indent_size = 2
continuation_indent_size = 2
trim_trailing_whitespace = true
max_line_length = 140

[*.{kt, kts}]
disabled_rules = import-ordering

[*.xml]
indent_size = 4
ktlint_disabled_rules = filename
ij_kotlin_allow_trailing_comma = true
ij_kotlin_allow_trailing_comma_on_call_site = true
ij_kotlin_name_count_to_use_star_import = 999
ij_kotlin_name_count_to_use_star_import_for_members = 999
ij_java_class_count_to_use_import_on_demand = 999
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
app/src/main/play/listings/**/*.png filter=lfs diff=lfs merge=lfs -text
app/src/androidTest/assets/covers/** filter=lfs diff=lfs merge=lfs -text
45 changes: 45 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Bug Report
description: File a bug report
labels: [ "bug" ]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: textarea
attributes:
label: Overview
description: Please describe exactly what the bug is and what you expected to happen instead.
validations:
required: true
- type: textarea
attributes:
label: How to reproduce
description: |
Describe step by step, how to reproduce the bug. For example:
1. Open the App
2. Click on Play
3. Voice crashes
validations:
required: true
- type: input
id: version
attributes:
label: Version
description: On which version of Voice did this bug appear? Please write the exact version as often time multiple versions are live at the same time.
validations:
required: true
- type: input
id: androidversion
attributes:
label: Android Version
description: What is your Android Version? (i.e. Android 13)
validations:
required: true
- type: input
id: device
attributes:
label: Device Model
description: What device do you use (i.e. Pixel 6)
validations:
required: true
23 changes: 0 additions & 23 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Discussion
url: https://github.com/Goodwy/PlayBook/discussions
about: Please use the discussions for feature ideas, upvotes and general ideas.
20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

72 changes: 53 additions & 19 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,60 @@
name: CI
name: Main

on: [push]
on: [ push, pull_request ]
env:
GRADLE_OPTS: -Dorg.gradle.jvmargs="-Xmx3000m"
GRADLE_OPTS: -Dorg.gradle.jvmargs="-Xmx3072m -XX:MaxMetaspaceSize=1g -Xms512m -XX:+HeapDumpOnOutOfMemoryError"
jobs:
build:
test:
timeout-minutes: 60

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- uses: malinskiy/action-android/install-sdk@release/0.0.5

- name: Fastlane
uses: maierj/[email protected]
with:
lane: ci

- uses: actions/[email protected]
if: always()
with:
name: "Artifacts"
path: "artifacts"
- uses: actions/checkout@v3

- run: ./gradlew testDebugUnitTest
- run: ./gradlew lintKotlin
- run: ./gradlew app:lintDebug

- uses: actions/upload-artifact@v3
if: always()
with:
name: "Artifacts"
path: |
artifacts/
app/build/reports/*.html
- name: Publish Test Report
uses: mikepenz/action-junit-report@v3
if: always()
with:
report_paths: '**/test-results/**/TEST-*.xml'

release:
timeout-minutes: 60
runs-on: ubuntu-latest
needs: test
if: startsWith(github.ref, 'refs/tags')
env:
ANDROID_PUBLISHER_CREDENTIALS: ${{ secrets.ANDROID_PUBLISHER_CREDENTIALS }}
SIGNING_KEYSTORE_PLAY: ${{ secrets.SIGNING_KEYSTORE }}
SIGNING_PROPERTIES_PLAY: ${{ secrets.SIGNING_PROPERTIES }}
SIGNING_KEYSTORE_GITHUB: ${{ secrets.SIGNING_KEYSTORE_GITHUB }}
SIGNING_PROPERTIES_GITHUB: ${{ secrets.SIGNING_PROPERTIES_GITHUB }}
GOOGLE_SERVICES: ${{ secrets.GOOGLE_SERVICES }}
steps:
- uses: actions/checkout@v3

- run: mkdir -p signing/play
- run: mkdir -p signing/github
- run: echo $SIGNING_KEYSTORE_PLAY | base64 --decode > signing/play/signing.keystore
- run: echo $SIGNING_PROPERTIES_PLAY | base64 --decode > signing/play/signing.properties
- run: echo $SIGNING_KEYSTORE_GITHUB | base64 --decode > signing/github/signing.keystore
- run: echo $SIGNING_PROPERTIES_GITHUB | base64 --decode > signing/github/signing.properties
- run: echo $GOOGLE_SERVICES | base64 --decode > app/google-services.json
- run: ./gradlew app:publishReleaseBundle -PenableCrashlytics -Pvoice.signing.play=true --no-configuration-cache
- run: ./gradlew app:assembleRelease -PenableCrashlytics -Pvoice.signing.play=false --no-configuration-cache

- name: Github Release
uses: softprops/action-gh-release@v1
with:
files: app/build/outputs/apk/release/app-release.apk
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -13,7 +13,6 @@ MaterialAudiobookPlayer.iml
reports
mainframer.sh
.mainframer
*.keystore
artifacts
testResults
Gemfile.lock
9 changes: 8 additions & 1 deletion .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b04c1d1

Please sign in to comment.