mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-09-15 18:57:01 +00:00
Refactor expression evaluator to use parser from actionlint package (#908)
* feat: implement expression evaluator Co-authored-by: Markus Wolf <markus.wolf@new-work.se> Co-authored-by: Philipp Hinrichsen <philipp.hinrichsen@new-work.se> * feat: integrate exprparser into act Co-authored-by: Markus Wolf <markus.wolf@new-work.se> Co-authored-by: Philipp Hinrichsen <philipp.hinrichsen@new-work.se> * Escape { and }, do not fail on missing properties * Fix empty inputs context * fix: contains() comparison for complex values Co-authored-by: Markus Wolf <markus.wolf@new-work.se> Co-authored-by: Philipp Hinrichsen <philipp.hinrichsen@new-work.se> Co-authored-by: Christopher Homberger <christopher.homberger@web.de>
This commit is contained in:
parent
4920c29312
commit
61c66784dd
10 changed files with 2037 additions and 706 deletions
1
act/exprparser/testdata/for-hashing-1.txt
vendored
Normal file
1
act/exprparser/testdata/for-hashing-1.txt
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
Hello
|
1
act/exprparser/testdata/for-hashing-2.txt
vendored
Normal file
1
act/exprparser/testdata/for-hashing-2.txt
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
World!
|
Loading…
Add table
Add a link
Reference in a new issue