Skip to content

Commit 36cb979

Browse files
Copilotwarting
andauthored
Update Ubuntu runners to ubuntu-latest (#352)
* Initial plan for issue * Update Ubuntu runners to ubuntu-latest in all workflow files Co-authored-by: warting <[email protected]> * Update actions/cache from v4.0.2 to v4 in workflow files Co-authored-by: warting <[email protected]> * Bump compile and target SDK to 36 in all modules Co-authored-by: warting <[email protected]> * Disable AndroidGradlePluginVersion lint check in all modules Co-authored-by: warting <[email protected]> * Disable NewerVersionAvailable lint check in all modules Co-authored-by: warting <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: warting <[email protected]>
1 parent a8e3064 commit 36cb979

File tree

8 files changed

+19
-11
lines changed

8 files changed

+19
-11
lines changed

.github/workflows/pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
# This workflow contains a single job called "build"
88
build:
99
# The type of runner that the job will run on
10-
runs-on: ubuntu-20.04
10+
runs-on: ubuntu-latest
1111

1212
# Steps represent a sequence of tasks that will be executed as part of the job
1313
steps:
@@ -29,7 +29,7 @@ jobs:
2929
- name: Generate cache key
3030
run: ./scripts/checksum.sh ./ checksum.txt
3131

32-
- uses: actions/cache@v4.0.2
32+
- uses: actions/cache@v4
3333
with:
3434
path: |
3535
~/.gradle/caches/modules-*

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
# This workflow contains a single job called "build"
99
build:
1010
# The type of runner that the job will run on
11-
runs-on: ubuntu-20.04
11+
runs-on: ubuntu-latest
1212

1313
# Steps represent a sequence of tasks that will be executed as part of the job
1414
steps:
@@ -35,7 +35,7 @@ jobs:
3535
- name: Generate cache key
3636
run: ./scripts/checksum.sh ./ checksum.txt
3737

38-
- uses: actions/cache@v4.0.2
38+
- uses: actions/cache@v4
3939
with:
4040
path: |
4141
~/.gradle/caches/modules-*

.github/workflows/release-management.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
jobs:
1111
update_draft_release:
12-
runs-on: ubuntu-20.04
12+
runs-on: ubuntu-latest
1313
steps:
1414
- uses: release-drafter/[email protected]
1515
with:

.github/workflows/snapshot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
build:
10-
runs-on: ubuntu-20.04
10+
runs-on: ubuntu-latest
1111

1212
# Steps represent a sequence of tasks that will be executed as part of the job
1313
steps:

app/build.gradle.kts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ detekt {
1212
}
1313

1414
android {
15-
compileSdk = 34
15+
compileSdk = 36
1616

1717
defaultConfig {
1818
applicationId = "se.warting.signaturepad"
1919
minSdk = 21
20-
targetSdk = 34
20+
targetSdk = 36
2121
versionCode = 1
2222
versionName = "1.0"
2323

@@ -65,6 +65,8 @@ android {
6565
disable.add("LintBaseline")
6666
disable.add("GradleDependency")
6767
disable.add("LogConditional")
68+
disable.add("AndroidGradlePluginVersion")
69+
disable.add("NewerVersionAvailable")
6870
checkDependencies = true
6971
checkGeneratedSources = false
7072
sarifOutput = file("../lint-results-lib.sarif")

signature-core/build.gradle.kts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ group = PUBLISH_GROUP_ID
6161
version = PUBLISH_VERSION
6262

6363
android {
64-
compileSdk = 34
64+
compileSdk = 36
6565

6666
defaultConfig {
6767
minSdk = 21
@@ -97,6 +97,8 @@ android {
9797
abortOnError = true
9898
disable.add("LintBaseline")
9999
disable.add("GradleDependency")
100+
disable.add("AndroidGradlePluginVersion")
101+
disable.add("NewerVersionAvailable")
100102
checkDependencies = true
101103
checkGeneratedSources = false
102104
sarifOutput = file("../lint-results-signature-core.sarif")

signature-pad/build.gradle.kts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ group = PUBLISH_GROUP_ID
6060
version = PUBLISH_VERSION
6161

6262
android {
63-
compileSdk = 34
63+
compileSdk = 36
6464

6565
defaultConfig {
6666
minSdk = 21
@@ -96,6 +96,8 @@ android {
9696
abortOnError = true
9797
disable.add("LintBaseline")
9898
disable.add("GradleDependency")
99+
disable.add("AndroidGradlePluginVersion")
100+
disable.add("NewerVersionAvailable")
99101
checkDependencies = true
100102
checkGeneratedSources = false
101103
sarifOutput = file("../lint-results-signature-pad.sarif")

signature-view/build.gradle.kts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ group = PUBLISH_GROUP_ID
6060
version = PUBLISH_VERSION
6161

6262
android {
63-
compileSdk = 34
63+
compileSdk = 36
6464

6565
defaultConfig {
6666
minSdk = 21
@@ -109,6 +109,8 @@ android {
109109
abortOnError = true
110110
disable.add("LintBaseline")
111111
disable.add("GradleDependency")
112+
disable.add("AndroidGradlePluginVersion")
113+
disable.add("NewerVersionAvailable")
112114
checkDependencies = true
113115
checkGeneratedSources = false
114116
sarifOutput = file("../lint-results-signature-view.sarif")

0 commit comments

Comments
 (0)