diff --git a/.cargo/deny.toml b/.cargo/deny.toml new file mode 100644 index 0000000..2e64ced --- /dev/null +++ b/.cargo/deny.toml @@ -0,0 +1,2 @@ +[bans] +deny = [{ name = "openssl" }] diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bc40788..9bc9952 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,6 +22,6 @@ jobs: if: github.event_name == 'pull_request' steps: - uses: actions/checkout@v4 - - uses: EmbarkStudios/cargo-deny-action@v1 - with: - manifest-path: test/Cargo.toml \ No newline at end of file + - uses: EmbarkStudios/cargo-deny-action@fix + # with: + # manifest-path: test/Cargo.toml \ No newline at end of file diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..1dcfb7d --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,6 @@ +[package] +name = "root" +version = "0.1.0" + +[dependencies] +openssl = "0.10" diff --git a/action.yml b/action.yml index f06973e..e6a902f 100644 --- a/action.yml +++ b/action.yml @@ -22,7 +22,7 @@ inputs: manifest-path: description: "Repo root relative path to the Cargo manifest to check" required: false - default: "Cargo.toml" + default: "./Cargo.toml" log-level: description: "The log level for cargo-deny" required: false diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..f328e4d --- /dev/null +++ b/src/main.rs @@ -0,0 +1 @@ +fn main() {}