Skip to content

Commit

Permalink
ok...
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-Shadle committed Feb 13, 2024
1 parent a6e54e8 commit d699779
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .cargo/deny.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[bans]
deny = [{ name = "openssl" }]
9 changes: 6 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ jobs:
if: github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v4
- uses: EmbarkStudios/cargo-deny-action@v1
with:
manifest-path: test/Cargo.toml
- name: Extract branch name
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
id: extract_branch
- uses: EmbarkStudios/cargo-deny-action@${{ steps.extract_branch.outputs.branch }}
# with:
# manifest-path: test/Cargo.toml
6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[package]
name = "root"
version = "0.1.0"

[dependencies]
openssl = "0.10"
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fn main() {}

0 comments on commit d699779

Please sign in to comment.