Skip to content

Commit

Permalink
Remove deny checks
Browse files Browse the repository at this point in the history
  • Loading branch information
alexle0nte committed Apr 10, 2024
1 parent 1892753 commit ff8deed
Showing 1 changed file with 2 additions and 42 deletions.
44 changes: 2 additions & 42 deletions .github/workflows/complex-code-spotter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -273,46 +273,6 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}

deny:

needs: [code-coverage, weighted-code-coverage]

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Check dependencies changes
uses: dorny/paths-filter@v2
id: changes
with:
filters: |
cargo:
- 'Cargo.toml'
- 'Cargo.lock'
- name: Install Rust stable
if: steps.changes.outputs.cargo == 'true'
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable

- name: Install cargo-deny
if: steps.changes.outputs.cargo == 'true'
env:
DENY_LINK: https://github.com/EmbarkStudios/cargo-deny/releases/download
DENY_VERSION: 0.13.7
run: |
curl -L "$DENY_LINK/$DENY_VERSION/cargo-deny-$DENY_VERSION-x86_64-unknown-linux-musl.tar.gz" |
tar xz -C $HOME/.cargo/bin --strip-components 1
- name: Run cargo-deny
if: steps.changes.outputs.cargo == 'true'
run: |
cargo deny init
cargo deny check bans
# cargo deny check licenses
udeps:

needs: [code-coverage, weighted-code-coverage]
Expand Down Expand Up @@ -355,7 +315,7 @@ jobs:

careful:

needs: [audit, deny, udeps]
needs: [audit, udeps]

runs-on: ubuntu-latest

Expand Down Expand Up @@ -383,7 +343,7 @@ jobs:
address-sanitizer:

needs: [audit, deny, udeps]
needs: [audit, udeps]

runs-on: ubuntu-latest

Expand Down

0 comments on commit ff8deed

Please sign in to comment.