Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V1.0.3 #5

Merged
merged 30 commits into from
Mar 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
0c14512
Bump to v1.0.3
Sharkaboi Mar 23, 2024
8a5864f
Remove unwanted resources
Sharkaboi Mar 23, 2024
27c1c69
Gradle changes
Sharkaboi Mar 23, 2024
012357d
Project structure changes
Sharkaboi Mar 23, 2024
6052375
Add v1.0.3 changes
Sharkaboi Mar 23, 2024
eb5418b
Add sample
Sharkaboi Mar 23, 2024
e8c7f41
Rename files
Sharkaboi Mar 23, 2024
3e30ce3
Add padding
Sharkaboi Mar 23, 2024
19b9003
Add internet perm
Sharkaboi Mar 23, 2024
51f4ceb
Disable r8 full mode lib
Sharkaboi Mar 23, 2024
7691bbe
Add concat inline option
Sharkaboi Mar 23, 2024
413d2b0
Add custom version comparator logic and tests
Sharkaboi Mar 24, 2024
a958d0a
Remove unwanted files
Sharkaboi Mar 24, 2024
1217073
Gradle config
Sharkaboi Mar 24, 2024
c9de1d0
Add proguard rules
Sharkaboi Mar 24, 2024
0b658d3
Update ci
Sharkaboi Mar 24, 2024
0f72574
Add better exceptions
Sharkaboi Mar 24, 2024
1a9155f
Add better exceptions sample
Sharkaboi Mar 24, 2024
8acb76a
Add custom source test
Sharkaboi Mar 24, 2024
bbd21b9
Add github authenticated requests
Sharkaboi Mar 24, 2024
5cbf680
Update readme
Sharkaboi Mar 24, 2024
dc569ed
Fix r8 bug with jdk 11+
Sharkaboi Mar 24, 2024
38206d7
Fix ktlint config
Sharkaboi Mar 24, 2024
8d7f5f8
Fix ktlint config
Sharkaboi Mar 24, 2024
bd7a681
Ktlint format
Sharkaboi Mar 24, 2024
a766d05
Add ktlint check for sample also
Sharkaboi Mar 24, 2024
74dde24
Fix ktlint check
Sharkaboi Mar 24, 2024
ef565c5
Remove upload step
Sharkaboi Mar 24, 2024
3956b5c
Fix docs
Sharkaboi Mar 24, 2024
ab1f5ef
Fix docs
Sharkaboi Mar 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 17 additions & 47 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,66 +5,36 @@ on: [ push, pull_request ]
jobs:
build:
name: Gradle Build
timeout-minutes: 60
runs-on: ubuntu-latest

steps:
- name: Checkout repo
uses: actions/checkout@v1

- uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}-${{ hashFiles('**/buildSrc/**/*.kt') }}
uses: actions/checkout@v3

- name: set up JDK 11
uses: actions/setup-java@v2
- name: set up JDK
uses: actions/setup-java@v3
with:
java-version: '11'
java-version: '17'
distribution: 'adopt'

- name: Setup Gradle with cache
uses: gradle/actions/setup-gradle@v3

- name: Setup Gradle
run: chmod +x gradlew

- name: Gradle build
run: bash ./gradlew assembleDebug
- name: Build library
run: bash ./gradlew library:assembleDebug

test:
name: Run Tests and lint checks
runs-on: macos-latest
timeout-minutes: 60
needs: build
- name: Build sample
run: bash ./gradlew sample:assembleDebug

steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Run kltlint in library
run: ./gradlew library:ktlintCheck

- uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}-${{ hashFiles('**/buildSrc/**/*.kt') }}

- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'

- name: Setup Gradle
run: chmod +x gradlew

- name: Run kltlint
run: ./gradlew ktlintCheck
- name: Run kltlint in sample
run: ./gradlew sample:ktlintCheck

- name: Unit tests
run: ./gradlew test --stacktrace

- name: Upload Reports
uses: actions/upload-artifact@v2
with:
name: Test-Reports
path: AppUpdateChecker/build/reports
if: always()
run: ./gradlew test --stacktrace
Loading
Loading