Skip to content

ci: update Go version and improve Redis test setup #24

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 2 commits into from
Jan 19, 2025
Merged

Conversation

appleboy
Copy link
Member

  • Remove Go 1.21 from the GitHub Actions workflow
  • Remove environment variables and Redis setup steps from GitHub Actions workflow
  • Update Go version to 1.22 in go.mod
  • Add testcontainers-go and other dependencies to go.mod
  • Add setup functions for Redis and Redis Cluster containers in tests
  • Replace hardcoded Redis host with dynamic endpoint in tests
  • Enable and update the TestRedisCluster test
  • Add context and container cleanup to various tests

- Remove Go 1.21 from the GitHub Actions workflow
- Remove environment variables and Redis setup steps from GitHub Actions workflow
- Update Go version to 1.22 in go.mod
- Add testcontainers-go and other dependencies to go.mod
- Add setup functions for Redis and Redis Cluster containers in tests
- Replace hardcoded Redis host with dynamic endpoint in tests
- Enable and update the TestRedisCluster test
- Add context and container cleanup to various tests

Signed-off-by: appleboy <appleboy.tw@gmail.com>
- Replace `t.Helper()` with `t.Skip()` in `TestRedisCluster` function

Signed-off-by: appleboy <appleboy.tw@gmail.com>
@appleboy appleboy merged commit 898b07c into main Jan 19, 2025
5 checks passed
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