You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a GitHub Action that that allows you to specify a CodeQL extractor to be used in your workflows as an author of an Extractor.
6
+
It is designed to be used in conjunction with the [CodeQL][CodeQL] analysis tool, which is a powerful static analysis tool that can be used to find vulnerabilities in your code.
7
+
8
+
The project is written in Rust and used the [ghactions](https://crates.io/crates/ghactions) crate to simplify the development of GitHub Actions in Rust.
9
+
The action is built using a Debian based Docker image.
10
+
11
+
## Guildelins
12
+
13
+
- Use cargo fmt to format the code.
14
+
- Use cargo clippy to lint the code.
15
+
- Always write documentation for public functions and modules.
16
+
- Write unit tests for all public functions.
17
+
- Use `log::info!`, `log::warn!`, `log::error!` for logging.
18
+
19
+
## Testing
20
+
21
+
You can test the Rust code locally using `cargo tests`.
22
+
23
+
```sh
24
+
cargo test
25
+
```
26
+
27
+
This will run all the tests in the project and display the results in the terminal.
28
+
Validate the output of the tests to ensure that everything is working as expected.
29
+
If the tests fail, debug the code and fix any issues before proceeding.
0 commit comments