@@ -3,8 +3,7 @@ workflows:
33 version : 2
44 test :
55 jobs :
6- - contract_sg721_base
7- - contract_sg721_nt
6+ - contract_cw721_migration
87 - contract_base_factory
98 - contract_base_minter
109 - contract_vending_factory
@@ -28,10 +27,10 @@ workflows:
2827 ignore : /.*/
2928
3029jobs :
31- contract_sg721_base :
30+ contract_cw721_migration :
3231 docker :
3332 - image : rust:1.81.0
34- working_directory : ~/project/contracts/collections/sg721-base
33+ working_directory : ~/project/contracts/collections/cw721-migration
3534 steps :
3635 - checkout :
3736 path : ~/project
@@ -40,65 +39,17 @@ jobs:
4039 command : rustc --version; cargo --version; rustup --version
4140 - restore_cache :
4241 keys :
43- - cargocache-sg721 -rust:1.81.0-{{ checksum "~/project/Cargo.lock" }}
42+ - cargocache-cw721-migration -rust:1.81.0-{{ checksum "~/project/Cargo.lock" }}
4443 - run :
4544 name : Unit Tests
4645 environment :
4746 RUST_BACKTRACE : 1
4847 command : cargo unit-test --locked
49- - run :
50- name : Build and run schema generator
51- command : cargo schema --locked
52- - run :
53- name : Ensure checked-in schemas are up-to-date
54- command : |
55- CHANGES_IN_REPO=$(git status --porcelain)
56- if [[ -n "$CHANGES_IN_REPO" ]]; then
57- echo "Repository is dirty. Showing 'git status' and 'git --no-pager diff' for debugging now:"
58- git status && git --no-pager diff
59- exit 1
60- fi
61- - save_cache :
62- paths :
63- - /usr/local/cargo/registry
64- - target
65- key : cargocache-sg721-rust:1.81.0-{{ checksum "~/project/Cargo.lock" }}
66-
67- contract_sg721_nt :
68- docker :
69- - image : rust:1.81.0
70- working_directory : ~/project/contracts/collections/sg721-nt
71- steps :
72- - checkout :
73- path : ~/project
74- - run :
75- name : Version information
76- command : rustc --version; cargo --version; rustup --version
77- - restore_cache :
78- keys :
79- - cargocache-sg721-nt-rust:1.81.0-{{ checksum "~/project/Cargo.lock" }}
80- - run :
81- name : Unit Tests
82- environment :
83- RUST_BACKTRACE : 1
84- command : cargo unit-test --locked
85- - run :
86- name : Build and run schema generator
87- command : cargo schema --locked
88- - run :
89- name : Ensure checked-in schemas are up-to-date
90- command : |
91- CHANGES_IN_REPO=$(git status --porcelain)
92- if [[ -n "$CHANGES_IN_REPO" ]]; then
93- echo "Repository is dirty. Showing 'git status' and 'git --no-pager diff' for debugging now:"
94- git status && git --no-pager diff
95- exit 1
96- fi
9748 - save_cache :
9849 paths :
9950 - /usr/local/cargo/registry
10051 - target
101- key : cargocache-sg721-nt -rust:1.81.0-{{ checksum "~/project/Cargo.lock" }}
52+ key : cargocache-cw721-migration -rust:1.81.0-{{ checksum "~/project/Cargo.lock" }}
10253
10354 contract_base_factory :
10455 docker :
@@ -378,7 +329,7 @@ jobs:
378329 package_sg_utils :
379330 docker :
380331 - image : rust:1.81.0
381- working_directory : ~/project/package /sg-utils
332+ working_directory : ~/project/packages /sg-utils
382333 steps :
383334 - checkout :
384335 path : ~/project
0 commit comments