Skip to content

Commit 5c41b1d

Browse files
redsun82Copilot
andcommitted
Just: port actions to new language test definition
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 9915142 commit 5c41b1d

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

actions/justfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import '../lib.just'
2+
3+
[group('build')]
4+
build: (_build_dist "actions")
5+
6+
[group('test')]
7+
language-tests *EXTRA_ARGS: (_language_tests EXTRA_ARGS source_dir() 'ql/test')

actions/ql/justfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import "../../lib.just"
2+
3+
[no-cd]
4+
format *ARGS=".": (_format_ql ARGS)
5+
6+
consistency_queries := ""

actions/ql/test/justfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import "../justfile"
2+
3+
base_flags := ""
4+
5+
all_checks := default_db_checks
6+
7+
[no-cd]
8+
test *ARGS=".": (_codeql_test "actions" base_flags all_checks ARGS)

0 commit comments

Comments
 (0)