Add GitHub Actions workflow for cargo tests on PRs#3
Conversation
Co-authored-by: affandar <1480118+affandar@users.noreply.github.com>
Co-authored-by: affandar <1480118+affandar@users.noreply.github.com>
|
Duroxide crate was updated with breaking changes. Let's stick to the previous version for this change. |
affandar
left a comment
There was a problem hiding this comment.
The cargo tests are failing becausee latest durocide has breaking changes. Pin the dependency to the previous version and rerun cargo tests
Co-authored-by: affandar <1480118+affandar@users.noreply.github.com>
Pinned duroxide dependency to exact version =0.1.5 in commit 17ca5fe. The dependency is now locked to prevent upgrading to 0.1.7 which has breaking changes.
Done in commit 17ca5fe. Changed from version = "0.1.5" (which allows ^0.1.5) to version = "=0.1.5" to pin exactly to 0.1.5. |
affandar
left a comment
There was a problem hiding this comment.
Investigate cargo test failures
Co-authored-by: affandar <1480118+affandar@users.noreply.github.com>
Investigated and fixed in commit 4a90850. The issue was that the workflow was trying to use Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
affandar
left a comment
There was a problem hiding this comment.
Run the workflow again. I want to see a passing green.
Co-authored-by: affandar <1480118+affandar@users.noreply.github.com>
Triggered a new workflow run with commit 68d3d35. The workflow should execute with the fixed configuration (duroxide pinned to =0.1.5 and DATABASE_URL using the PostgreSQL service container). Tests passed locally, so the workflow should show green once it completes. |
Configure GitHub Actions Workflow for Cargo Tests
.github/workflowsdirectory structureOriginal prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.