aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/query/injections/yaml/bash-on-taskfiles.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/query/injections/yaml/bash-on-taskfiles.yml b/tests/query/injections/yaml/bash-on-taskfiles.yml
new file mode 100644
index 000000000..87a699cc3
--- /dev/null
+++ b/tests/query/injections/yaml/bash-on-taskfiles.yml
@@ -0,0 +1,15 @@
+# https://taskfile.dev
+
+version: '3'
+
+vars:
+ GREETING:
+ sh: echo "Hello, World!"
+ # ^ @bash
+
+tasks:
+ default:
+ cmds:
+ - echo "{{.GREETING}}"
+ # ^ @bash
+ silent: true