File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 1212 # Don't use more features like "gdnative_bindings_generator/debug" to keep CI truly minimal
1313 GDRUST_FEATURES : " gdnative/async,gdnative/serde"
1414
15+ RIPGREP_VERSION : " 13.0.0"
16+
1517on :
1618 pull_request :
1719 branches :
5254 - name : " Check clippy"
5355 run : cargo clippy --workspace --features ${GDRUST_FEATURES} -- -D clippy::style -D clippy::complexity -D clippy::perf -D clippy::dbg_macro -D clippy::todo -D clippy::unimplemented
5456
57+ check-todo :
58+ runs-on : ubuntu-latest
59+ steps :
60+ - uses : actions/checkout@v3
61+ - name : " Install ripgrep"
62+ run : |
63+ cd /tmp
64+ wget --no-verbose https://github.com/BurntSushi/ripgrep/releases/download/${RIPGREP_VERSION}/ripgrep-${RIPGREP_VERSION}-x86_64-unknown-linux-musl.tar.gz -O ripgrep.tar.gz
65+ tar -zxvf ripgrep.tar.gz
66+ sudo mv ripgrep-${RIPGREP_VERSION}-x86_64-unknown-linux-musl/rg /usr/bin
67+ - name : " Look for TODO comments without issue numbers attached to them"
68+ run : " ! rg -iTh --pcre2 '(?<!clippy::)(TODO|FIXME)(?!!\\ (\\ )|\\ ((#|(\\ w+/)+)\\ d+\\ ))'"
69+
5570 unit-test :
5671 runs-on : ubuntu-latest
5772 steps :
You can’t perform that action at this time.
0 commit comments