act/pkg/exprparser
Björn Brauer eba71f98fe
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>
2022-01-21 08:07:20 -08:00
..
testdata Refactor expression evaluator to use parser from actionlint package (#908) 2022-01-21 08:07:20 -08:00
functions.go Refactor expression evaluator to use parser from actionlint package (#908) 2022-01-21 08:07:20 -08:00
functions_test.go Refactor expression evaluator to use parser from actionlint package (#908) 2022-01-21 08:07:20 -08:00
interpreter.go Refactor expression evaluator to use parser from actionlint package (#908) 2022-01-21 08:07:20 -08:00
interpreter_test.go Refactor expression evaluator to use parser from actionlint package (#908) 2022-01-21 08:07:20 -08:00