Skip to content

update dependencies for switch-bot-api-go and related libraries#12

Merged
yasu89 merged 2 commits intomainfrom
feature/update-switch-bot-library
Jun 21, 2025
Merged

update dependencies for switch-bot-api-go and related libraries#12
yasu89 merged 2 commits intomainfrom
feature/update-switch-bot-library

Conversation

@yasu89
Copy link
Copy Markdown
Owner

@yasu89 yasu89 commented Jun 21, 2025

This pull request updates several dependencies in the go.mod file to newer versions, ensuring compatibility and access to the latest features and fixes.

Dependency updates:

  • Updated github.com/yasu89/switch-bot-api-go from v0.4.0 to v0.5.0.
  • Updated github.com/goccy/go-yaml from v1.17.1 to v1.18.0.
  • Updated github.com/kaptinlin/go-i18n from v0.1.3 to v0.1.4.
  • Updated github.com/kaptinlin/jsonschema from v0.2.3 to v0.4.3.
  • Updated golang.org/x/text from v0.25.0 to v0.26.0.

Copilot AI review requested due to automatic review settings June 21, 2025 14:22
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates several dependencies in the go.mod file to newer versions to ensure compatibility and incorporate the latest features and fixes.

  • Updated dependency versions for switch-bot-api-go, go-yaml, go-i18n, jsonschema, swaggest/jsonschema-go, and golang.org/x/text.
  • Ensures the project stays up to date with upstream improvements and bug fixes.

@github-actions

This comment has been minimized.

@github-actions
Copy link
Copy Markdown
Contributor

Code Metrics Report

main (611192f) #12 (f03b39f) +/-
Coverage 69.6% 69.6% 0.0%
Code to Test Ratio 1:1.7 1:1.7 0.0
Test Execution Time 27s 9s -18s
Details
  |                     | main (611192f) | #12 (f03b39f) | +/-  |
  |---------------------|----------------|---------------|------|
  | Coverage            |          69.6% |         69.6% | 0.0% |
  |   Files             |              3 |             3 |    0 |
  |   Lines             |             99 |            99 |    0 |
  |   Covered           |             69 |            69 |    0 |
  | Code to Test Ratio  |          1:1.7 |         1:1.7 |  0.0 |
  |   Code              |            206 |           206 |    0 |
  |   Test              |            353 |           353 |    0 |
+ | Test Execution Time |            27s |            9s | -18s |

Reported by octocov

@yasu89 yasu89 merged commit f57523c into main Jun 21, 2025
2 checks passed
@yasu89 yasu89 deleted the feature/update-switch-bot-library branch June 21, 2025 14:25
@github-actions github-actions bot mentioned this pull request Jun 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants