-
Notifications
You must be signed in to change notification settings - Fork 50
Description
Issue - Update GitHub Actions CI to Support Dojo v1.6.0-alpha.1
Description:
Upgrade the GitHub Actions workflow to use Dojo v1.6.0-alpha.1 version, ensuring the CI pipeline remains functional with the updated dependencies. This update must be coordinated with the Scarb.toml upgrade to maintain consistency between local development and CI environments.
Implementation Steps:
- Update asdf Dojo installation version from "1.2.1" to "v1.6.0-alpha.1"
- Verify Scarb version compatibility (currently 2.9.2) with Dojo v1.6.0-alpha.1
- Update GitHub Actions checkout version to latest (currently @V3, consider @v4)
- Test CI pipeline with updated versions in a test branch
- Ensure all CI steps (build, test, formatting) work with new versions
- Add version verification steps to confirm correct installations
- Update any deprecated GitHub Actions or commands if necessary
- Validate CI performance and build times with new versions
Acceptance Criteria:
✅ GitHub Actions installs Dojo v1.6.0-alpha.1 successfully
✅ asdf plugin installation works with new Dojo version
✅ Scarb version (2.9.2) remains compatible and functional
✅ Build step (sozo build) completes successfully in CI
✅ Test step (sozo test) passes all tests in CI environment
✅ Formatting check (scarb fmt) works correctly
✅ Git status check for dirty repo still functions
✅ CI pipeline runs without errors on main/master branches
✅ Pull request CI validation works properly
✅ Build and test times remain reasonable
Additional Context:
The GitHub Actions workflow currently uses Dojo v1.2.1 and must be updated in coordination with the Scarb.toml upgrade. The CI environment needs to match the development environment to ensure consistent builds and testing. Consider updating other workflow dependencies like checkout action version.