Add lint CI workflow that annotates PRs #4
Annotations
11 warnings and 1 notice
|
lint
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-java@v4, actions/upload-artifact@v4, gradle/actions/setup-gradle@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
lint:
app/src/main/res/values/strings.xml#L19
The resource `R.string.account_not_found` appears to be unused [UnusedResources]
|
|
lint:
app/src/main/java/pub/hackers/android/ui/screens/settings/SettingsViewModel.kt#L62
This annotation is currently applied to the value parameter only, but in the future it will also be applied to field.
|
|
lint:
app/src/main/java/pub/hackers/android/ui/screens/settings/SettingsScreen.kt#L323
'val Icons.Filled.Login: ImageVector' is deprecated. Use the AutoMirrored version at Icons.AutoMirrored.Filled.Login.
|
|
lint:
app/src/main/java/pub/hackers/android/ui/screens/settings/SettingsScreen.kt#L70
'fun <reified VM : ViewModel> hiltViewModel(viewModelStoreOwner: ViewModelStoreOwner = ..., key: String? = ...): VM' is deprecated. Moved to package: androidx.hilt.lifecycle.viewmodel.compose.
|
|
lint:
app/src/main/java/pub/hackers/android/ui/screens/postdetail/PostDetailScreen.kt#L396
'val Icons.Filled.FormatListBulleted: ImageVector' is deprecated. Use the AutoMirrored version at Icons.AutoMirrored.Filled.FormatListBulleted.
|
|
lint:
app/src/main/java/pub/hackers/android/ui/screens/postdetail/PostDetailScreen.kt#L144
'fun <reified VM : ViewModel> hiltViewModel(viewModelStoreOwner: ViewModelStoreOwner = ..., key: String? = ...): VM' is deprecated. Moved to package: androidx.hilt.lifecycle.viewmodel.compose.
|
|
lint:
app/src/main/java/pub/hackers/android/ui/screens/compose/ComposeScreen.kt#L120
'fun <reified VM : ViewModel> hiltViewModel(viewModelStoreOwner: ViewModelStoreOwner = ..., key: String? = ...): VM' is deprecated. Moved to package: androidx.hilt.lifecycle.viewmodel.compose.
|
|
lint:
app/src/main/java/pub/hackers/android/ui/screens/auth/SignInViewModel.kt#L44
This annotation is currently applied to the value parameter only, but in the future it will also be applied to field.
|
|
lint:
app/src/main/java/pub/hackers/android/ui/screens/auth/SignInScreen.kt#L60
'fun <reified VM : ViewModel> hiltViewModel(viewModelStoreOwner: ViewModelStoreOwner = ..., key: String? = ...): VM' is deprecated. Moved to package: androidx.hilt.lifecycle.viewmodel.compose.
|
|
lint:
app/src/main/java/pub/hackers/android/data/auth/PasskeyManager.kt#L29
This annotation is currently applied to the value parameter only, but in the future it will also be applied to field.
|
|
lint
Lint (changed files) — errors: 0, warnings: 53
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
lint-log
|
2.16 KB |
sha256:8cf9a3dfd95f57278a2904349bf137bbe54aff288d0009b884e43fb4a225aab3
|
|