Skip to content

📝 [FEAT]: Update GitHub Actions CI to Support Dojo v1.6.0-alpha.1 #176

@coxmars

Description

@coxmars

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:

  1. Update asdf Dojo installation version from "1.2.1" to "v1.6.0-alpha.1"
  2. Verify Scarb version compatibility (currently 2.9.2) with Dojo v1.6.0-alpha.1
  3. Update GitHub Actions checkout version to latest (currently @V3, consider @v4)
  4. Test CI pipeline with updated versions in a test branch
  5. Ensure all CI steps (build, test, formatting) work with new versions
  6. Add version verification steps to confirm correct installations
  7. Update any deprecated GitHub Actions or commands if necessary
  8. 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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions