-
Notifications
You must be signed in to change notification settings - Fork 51
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
Upgrade to Dojo v1.0.0 alpha.3 #1143
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,7 @@ jobs: | |
steps: | ||
- name: Download Dojo release artifact | ||
run: | | ||
curl -L -o dojo-linux-x86_64.tar.gz https://github.com/dojoengine/dojo/releases/download/v1.0.0-alpha.1/dojo_v1.0.0-alpha.1_linux_amd64.tar.gz | ||
curl -L -o dojo-linux-x86_64.tar.gz https://github.com/dojoengine/dojo/releases/download/v1.0.0-alpha.3/dojo_v1.0.0-alpha.3_linux_amd64.tar.gz | ||
tar -xzf dojo-linux-x86_64.tar.gz | ||
sudo mv sozo /usr/local/bin/ | ||
- name: Checkout repository | ||
|
@@ -45,7 +45,7 @@ jobs: | |
cd contracts && sozo build | ||
- name: Run Dojo Test for ${{ matrix.test }} | ||
run: | | ||
cd contracts && sozo test -f ${{ matrix.test }} | ||
cd contracts && sozo test -f ${{ matrix.test }} --print-resource-usage | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Adding the |
||
|
||
test-scarb-fmt: | ||
needs: [setup-environment] | ||
|
@@ -54,5 +54,5 @@ jobs: | |
- uses: actions/checkout@v3 | ||
- uses: software-mansion/setup-scarb@v1 | ||
with: | ||
scarb-version: "2.6.5" | ||
scarb-version: "2.7.0-rc.4" | ||
- run: cd contracts && scarb fmt --check |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
scarb 2.6.5 | ||
scarb 2.7.0-rc.4 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Updating scarb to 2.7.0-rc.4 aligns with using the latest Cairo version, which is good for compatibility with dojo v1.0.0-alpha.3. |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ version = "0.6.8" | |
sierra-replace-ids = true | ||
|
||
[dependencies] | ||
dojo = { git = "https://github.com/dojoengine/dojo", tag = "v1.0.0-alpha.2" } | ||
dojo = { git = "https://github.com/dojoengine/dojo", tag = "v1.0.0-alpha.3" } | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Updating dojo dependency to v1.0.0-alpha.3 is good to stay current with the latest version. |
||
alexandria_math = { git = "https://github.com/keep-starknet-strange/alexandria.git", rev = "cairo-v2.5.4" } | ||
alexandria_data_structures = { git = "https://github.com/keep-starknet-strange/alexandria.git", rev = "cairo-v2.5.4" } | ||
cubit = { git = "https://github.com/dojoengine/cubit", branch = "cairo_2.7" } | ||
|
@@ -29,8 +29,6 @@ world_address = "0x161b08e252b353008665e85ab5dcb0044a61186eb14b999657d14c04c94c8 | |
|
||
[[target.dojo]] | ||
|
||
[lib] | ||
|
||
[tool.dojo.world] | ||
seed = "eternum" | ||
name = "Realms: Eternum" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
mod alias; | ||
mod constants; | ||
mod models; | ||
pub mod alias; | ||
pub mod constants; | ||
pub mod models; | ||
mod systems; | ||
mod utils; | ||
pub mod utils; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updating to use dojo v1.0.0-alpha.3 in the CI workflow is consistent with the dependency update.