From 33fd0efd3318b605bec1899bc71539af9845e054 Mon Sep 17 00:00:00 2001 From: Jake Shadle Date: Tue, 13 Feb 2024 11:43:33 +0100 Subject: [PATCH] ok... --- .cargo/deny.toml | 2 ++ .github/workflows/test.yml | 6 +++--- Cargo.toml | 6 ++++++ action.yml | 2 +- src/main.rs | 1 + 5 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 .cargo/deny.toml create mode 100644 Cargo.toml create mode 100644 src/main.rs 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() {}