diff --git a/template/mise.toml.jinja b/template/mise.toml.jinja index 91553d8..27e801e 100644 --- a/template/mise.toml.jinja +++ b/template/mise.toml.jinja @@ -64,8 +64,10 @@ run = "prek run --all-files" [tasks.lt] description = "Run all formatters, static checks and tests" -depends = ["lint"] -run = { task = "test" } +run = [ + { task = "lint" }, + { task = "test" }, +] [tasks.release] description = "Create and push a release tag (patch/minor/major)" diff --git a/tests/template/__snapshots__/test_mise_toml.ambr b/tests/template/__snapshots__/test_mise_toml.ambr index 8ffc6a5..e1d294e 100644 --- a/tests/template/__snapshots__/test_mise_toml.ambr +++ b/tests/template/__snapshots__/test_mise_toml.ambr @@ -53,8 +53,10 @@ [tasks.lt] description = "Run all formatters, static checks and tests" - depends = ["lint"] - run = { task = "test" } + run = [ + { task = "lint" }, + { task = "test" }, + ] [tasks.release] description = "Create and push a release tag (patch/minor/major)" @@ -174,8 +176,10 @@ [tasks.lt] description = "Run all formatters, static checks and tests" - depends = ["lint"] - run = { task = "test" } + run = [ + { task = "lint" }, + { task = "test" }, + ] [tasks.release] description = "Create and push a release tag (patch/minor/major)" @@ -274,8 +278,10 @@ [tasks.lt] description = "Run all formatters, static checks and tests" - depends = ["lint"] - run = { task = "test" } + run = [ + { task = "lint" }, + { task = "test" }, + ] [tasks.release] description = "Create and push a release tag (patch/minor/major)" @@ -381,8 +387,10 @@ [tasks.lt] description = "Run all formatters, static checks and tests" - depends = ["lint"] - run = { task = "test" } + run = [ + { task = "lint" }, + { task = "test" }, + ] [tasks.release] description = "Create and push a release tag (patch/minor/major)" @@ -495,8 +503,10 @@ [tasks.lt] description = "Run all formatters, static checks and tests" - depends = ["lint"] - run = { task = "test" } + run = [ + { task = "lint" }, + { task = "test" }, + ] [tasks.release] description = "Create and push a release tag (patch/minor/major)" @@ -621,8 +631,10 @@ [tasks.lt] description = "Run all formatters, static checks and tests" - depends = ["lint"] - run = { task = "test" } + run = [ + { task = "lint" }, + { task = "test" }, + ] [tasks.release] description = "Create and push a release tag (patch/minor/major)" @@ -726,8 +738,10 @@ [tasks.lt] description = "Run all formatters, static checks and tests" - depends = ["lint"] - run = { task = "test" } + run = [ + { task = "lint" }, + { task = "test" }, + ] [tasks.release] description = "Create and push a release tag (patch/minor/major)" @@ -838,8 +852,10 @@ [tasks.lt] description = "Run all formatters, static checks and tests" - depends = ["lint"] - run = { task = "test" } + run = [ + { task = "lint" }, + { task = "test" }, + ] [tasks.release] description = "Create and push a release tag (patch/minor/major)" @@ -957,8 +973,10 @@ [tasks.lt] description = "Run all formatters, static checks and tests" - depends = ["lint"] - run = { task = "test" } + run = [ + { task = "lint" }, + { task = "test" }, + ] [tasks.release] description = "Create and push a release tag (patch/minor/major)" @@ -1078,8 +1096,10 @@ [tasks.lt] description = "Run all formatters, static checks and tests" - depends = ["lint"] - run = { task = "test" } + run = [ + { task = "lint" }, + { task = "test" }, + ] [tasks.release] description = "Create and push a release tag (patch/minor/major)" @@ -1178,8 +1198,10 @@ [tasks.lt] description = "Run all formatters, static checks and tests" - depends = ["lint"] - run = { task = "test" } + run = [ + { task = "lint" }, + { task = "test" }, + ] [tasks.release] description = "Create and push a release tag (patch/minor/major)" @@ -1285,8 +1307,10 @@ [tasks.lt] description = "Run all formatters, static checks and tests" - depends = ["lint"] - run = { task = "test" } + run = [ + { task = "lint" }, + { task = "test" }, + ] [tasks.release] description = "Create and push a release tag (patch/minor/major)" @@ -1399,8 +1423,10 @@ [tasks.lt] description = "Run all formatters, static checks and tests" - depends = ["lint"] - run = { task = "test" } + run = [ + { task = "lint" }, + { task = "test" }, + ] [tasks.release] description = "Create and push a release tag (patch/minor/major)" @@ -1525,8 +1551,10 @@ [tasks.lt] description = "Run all formatters, static checks and tests" - depends = ["lint"] - run = { task = "test" } + run = [ + { task = "lint" }, + { task = "test" }, + ] [tasks.release] description = "Create and push a release tag (patch/minor/major)" @@ -1630,8 +1658,10 @@ [tasks.lt] description = "Run all formatters, static checks and tests" - depends = ["lint"] - run = { task = "test" } + run = [ + { task = "lint" }, + { task = "test" }, + ] [tasks.release] description = "Create and push a release tag (patch/minor/major)" @@ -1742,8 +1772,10 @@ [tasks.lt] description = "Run all formatters, static checks and tests" - depends = ["lint"] - run = { task = "test" } + run = [ + { task = "lint" }, + { task = "test" }, + ] [tasks.release] description = "Create and push a release tag (patch/minor/major)"