Skip to content

Commit

Permalink
Update all non-major dependencies (#29)
Browse files Browse the repository at this point in the history
* Update renovate.json

* use cache in workflow

* Update actions/cache action to v4

* Update all non-major dependencies

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
lings03 and renovate[bot] authored Oct 13, 2024
1 parent 3d523f9 commit a9bb905
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 11 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
name: CI

on:
on:
push:
branches:
- '*'
Expand All @@ -10,7 +9,6 @@ on:
jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -24,6 +22,15 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x ./gradlew

- uses: actions/cache@v4
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: assembleRelease with Gradle
run: ./gradlew assembleRelease

Expand Down
16 changes: 11 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
name: Release

on:
on:
push:
tags:
- '*'

jobs:
release:
runs-on: ubuntu-latest

permissions:
contents: write

steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -25,6 +22,15 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x ./gradlew

- uses: actions/cache@v4
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Assemble Release with Gradle
run: ./gradlew assembleRelease

Expand Down Expand Up @@ -55,7 +61,7 @@ jobs:
with:
tag_name: ${{ github.ref_name }}
name: Release ${{ github.ref_name }}
body: ${{ github.event.head_commit.message }}.
body: ${{ github.event.head_commit.message }}
draft: false
prerelease: false
files: |
Expand Down
6 changes: 3 additions & 3 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ datastorePreferences = "1.1.1"
documentfile = "1.0.1"
glide = "4.16.0"
gson = "2.11.0"
kotlin = "2.0.20"
kotlin = "2.0.21"
junit = "4.13.2"
kotlinxSerializationJson = "1.7.3"
activityCompose = "1.9.2"
Expand Down Expand Up @@ -78,5 +78,5 @@ desugar = "com.android.tools:desugar_jdk_libs_nio:2.1.2"
androidApplication = { id = "com.android.application", version.ref = "agp" }
jetbrainsKotlinAndroid = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
compose-compiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
ksp = { id = "com.google.devtools.ksp", version = "2.0.20-1.0.25" }
serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version = "2.0.20" }
ksp = { id = "com.google.devtools.ksp", version = "2.0.21-1.0.25" }
serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version = "2.0.21" }
6 changes: 6 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,11 @@
"automerge": true,
"extends": [
"config:base"
],
"packageRules": [
{
"matchUpdateTypes": ["minor", "patch"],
"groupName": "all non-major dependencies"
}
]
}

0 comments on commit a9bb905

Please sign in to comment.