diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f4cb221..020ba06 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -42,15 +42,15 @@ jobs: # Check out current repository - name: Fetch Sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Validate wrapper - name: Gradle Wrapper Validation - uses: gradle/wrapper-validation-action@v1.0.6 + uses: gradle/wrapper-validation-action@v3.3.2 # Setup Java 11 environment for the next steps - name: Setup Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: zulu java-version: 11 @@ -89,13 +89,13 @@ jobs: # Upload Kover report to CodeCov - name: Upload Code Coverage Report - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: files: ${{ github.workspace }}/build/reports/kover/xml/report.xml # Cache Plugin Verifier IDEs - name: Setup Plugin Verifier IDEs Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ steps.properties.outputs.pluginVerifierHomeDir }}/ides key: plugin-verifier-${{ hashFiles('build/listProductsReleases.txt') }} @@ -147,7 +147,7 @@ jobs: # Check out current repository - name: Fetch Sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Remove old release drafts by using the curl request for the available releases with a draft flag - name: Remove Old Release Drafts diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 37d7aed..925011d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,13 +20,13 @@ jobs: # Check out current repository - name: Fetch Sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ github.event.release.tag_name }} # Setup Java 11 environment for the next steps - name: Setup Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: zulu java-version: 11 diff --git a/.github/workflows/run-ui-tests.yml b/.github/workflows/run-ui-tests.yml index 363d9e8..6ea6182 100644 --- a/.github/workflows/run-ui-tests.yml +++ b/.github/workflows/run-ui-tests.yml @@ -33,11 +33,11 @@ jobs: # Check out current repository - name: Fetch Sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Setup Java 11 environment for the next steps - name: Setup Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: zulu java-version: 11 @@ -48,7 +48,7 @@ jobs: # Wait for IDEA to be started - name: Health Check - uses: jtalk/url-health-check-action@v3 + uses: jtalk/url-health-check-action@v4 with: url: http://127.0.0.1:8082 max-attempts: 15 diff --git a/gradle.properties b/gradle.properties index 7b34246..c85287c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,7 +4,7 @@ pluginGroup = com.huayi.intellijplatform.gitstats pluginName = GitStats pluginRepositoryUrl = https://github.com/zhensherlock/intellij-platform-git-stats-plugin # SemVer format -> https://semver.org -pluginVersion = 0.3.0 +pluginVersion = 0.4.0 # Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html pluginSinceBuild = 221 diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 07bd715..631e95e 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,14 +1,14 @@ [versions] # libraries -annotations = "24.0.1" +annotations = "24.1.0" # plugins -dokka = "1.9.10" -kotlin = "1.9.23" +dokka = "1.9.20" +kotlin = "2.0.0" changelog = "2.2.0" -gradleIntelliJPlugin = "1.17.2" -qodana = "2023.3.1" -kover = "0.7.6" +gradleIntelliJPlugin = "1.17.3" +qodana = "2024.1.5" +kover = "0.8.0" [libraries] annotations = { group = "org.jetbrains", name = "annotations", version.ref = "annotations" } diff --git a/src/main/kotlin/com/huayi/intellijplatform/gitstats/toolWindow/GitStatsWindowFactory.kt b/src/main/kotlin/com/huayi/intellijplatform/gitstats/toolWindow/GitStatsWindowFactory.kt index d15bf59..cccaa96 100644 --- a/src/main/kotlin/com/huayi/intellijplatform/gitstats/toolWindow/GitStatsWindowFactory.kt +++ b/src/main/kotlin/com/huayi/intellijplatform/gitstats/toolWindow/GitStatsWindowFactory.kt @@ -48,8 +48,8 @@ class GitStatsWindowFactory : ToolWindowFactory { var (startTime, endTime) = Utils.getThisWeekDateTimeRange() var defaultMode = "Top-speed" val table = JBTable().apply { - font = Font("Arial", Font.PLAIN, 14) - tableHeader.font = Font("Arial", Font.BOLD, 14) + font = Font("Microsoft YaHei", Font.PLAIN, 14) + tableHeader.font = Font("Microsoft YaHei", Font.BOLD, 14) border = BorderFactory.createEmptyBorder(0, 0, 0, 0) columnSelectionAllowed = false rowSelectionAllowed = true