Skip to content

chore: add ci #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Jun 7, 2025
Merged

chore: add ci #14

merged 10 commits into from
Jun 7, 2025

Conversation

jinwoo1225
Copy link
Owner

@jinwoo1225 jinwoo1225 commented Jun 7, 2025

ci for check

@Copilot Copilot AI review requested due to automatic review settings June 7, 2025 14:48
Copy link
Contributor

@Copilot 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 introduces continuous integration support and additional test coverage for utility functions. Key changes include:

  • New unit tests for duration humanization, home directory expansion, and base directory resolution.
  • Modifications to the ExpandHome function in git.go.
  • Addition of a GitHub Actions CI workflow for testing the Go code.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
internal/utils/utils_test.go Added tests for HumanizeDuration, ExpandHome, and GetBaseDir.
internal/utils/git.go Updated logic in ExpandHome to handle "" and "/".
.github/workflows/ci.yml New CI workflow configuration for running Go tests.

@jinwoo1225 jinwoo1225 merged commit f15d6a5 into main Jun 7, 2025
1 check passed
@jinwoo1225 jinwoo1225 deleted the add/ci branch June 7, 2025 15:17
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.

1 participant