diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index be1c389..dd1a16a 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -22,8 +22,8 @@ jobs: node-version: 20 cache: "yarn" - # - name: moon check - # run: moon check + - name: moon check + run: moon update && moon check # - name: moon info # run: | diff --git a/moon.mod.json b/moon.mod.json index 15ae0f0..f9c77ba 100644 --- a/moon.mod.json +++ b/moon.mod.json @@ -2,9 +2,8 @@ "name": "tiye/respo-workflow", "version": "0.1.0", "deps": { - // "tiye/respo": "0.0.2", - "tiye/respo": { "path": "/Users/chenyong/repo/moon/respo" }, - "tiye/dom-ffi": { "path": "/Users/chenyong/repo/moon/dom-ffi" } + "tiye/respo": "0.0.3", + "tiye/dom-ffi": "0.0.1" }, "readme": "README.md", "repository": "", diff --git a/src/main/store.mbt b/src/main/store.mbt index b0a5030..9cf6116 100644 --- a/src/main/store.mbt +++ b/src/main/store.mbt @@ -1,7 +1,7 @@ struct Store { mut counted : Int - mut tasks : Array[Task] - mut states : @respo.RespoStatesTree + tasks : Array[Task] + states : @respo.RespoStatesTree } derive(ToJson, @json.FromJson) fn Store::default() -> Store { @@ -10,9 +10,9 @@ fn Store::default() -> Store { struct Task { id : String - mut done : Bool - mut content : String - mut time : Double + done : Bool + content : String + time : Double } derive(Default, Eq, Hash, ToJson, @json.FromJson) enum IndentOp {