Shion のもくログ(旧: Shion の技術メモ)

使った技術のメモや、うまくいかなかった事とかを綴ります

PR

2024/10/19 ~ 2024/10/25 のもくもく日記

もくもく 前回までは

2024/10/12 ~ 2024/10/18 のもくもく日記 をご覧ください。

途中経過

その1

Kotlin を使う際、IDE Plugin が必要かと思ったら、状況が変わって不要になってた 👀

The Kotlin plugins that support 2.0.20 are bundled in the latest IntelliJ IDEA and Android Studio. You don't need to update the Kotlin plugin in your IDE.

https://kotlinlang.org/docs/whatsnew2020.html#language

その2

Ktor って、日付のユーティリティ実装あるのか 👀

@Serializable
data class GMTDate(
    val seconds: Int, 
    val minutes: Int, 
    val hours: Int, 
    val dayOfWeek: WeekDay, 
    val dayOfMonth: Int, 
    val dayOfYear: Int, 
    val month: Month, 
    val year: Int, 
    val timestamp: Long
) : Comparable<GMTDate> 

https://api.ktor.io/ktor-utils/io.ktor.util.date/index.html

その3

GitHub Dependabot Update でAngular 関連をひとつのPR にする設定、 なんか上手く動いていない気がするけど、そもそも自分が設定をミスった気がしてきた

version: 2
updates:
  - package-ecosystem: "npm"
    directory: "/"
    schedule:
      interval: "weekly"
    groups:
      angular:
        applies-to: version-updates
        patterns:
        - "@angular*"
        update-types:
        - "minor"
        - "patch"

https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/customizing-dependency-updates#example-3

……改めて上記実装と自分の実装を見比べたら、npm ではなくgithub-actions の方に書いてたorz そりゃ、出来ないわけだw

今回の進捗

※関連SNS
PR