diff --git a/Cargo.toml b/Cargo.toml index 40dcfdf..30d62dc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "forgejo-todo-checker" -version = "0.1.0" +version = "1.0.0" edition = "2021" [dependencies] diff --git a/justfile b/justfile new file mode 100644 index 0000000..b5b393b --- /dev/null +++ b/justfile @@ -0,0 +1,8 @@ +self-test: + just test $PWD forgejo-todo-checker + +test path repo: + GITHUB_WORKSPACE={{ path }} \ + GITHUB_REPOSITORY=kemitix/{{ repo }} \ + GITHUB_SERVER_URL=https://git.kemitix.net \ + cargo run diff --git a/src/scanner.rs b/src/scanner.rs index d4bc6b0..d16d436 100644 --- a/src/scanner.rs +++ b/src/scanner.rs @@ -13,6 +13,7 @@ pub fn find_markers(config: &Config, issues: HashSet) -> Result