Skip to content

Commit

Permalink
chore(ci): Switch to use GitHub Action for cargo-deny (#201)
Browse files Browse the repository at this point in the history
  • Loading branch information
repi authored and LucioFranco committed Dec 20, 2019
1 parent 61a770d commit 5e6b1fe
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,21 +38,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: download cargo-deny
shell: bash
env:
DVS: "0.4.0"
DREPO: EmbarkStudios/cargo-deny
TARGET: x86_64-unknown-linux-musl
run: |
temp_archive=$(mktemp --suffix=.tar.gz)
curl -L --output "$temp_archive" https://github.com/$DREPO/releases/download/$DVS/cargo-deny-$DVS-$TARGET.tar.gz
tar -xzvf "$temp_archive" -C . --strip-components=1 --wildcards "*/cargo-deny"
- name: cargo-deny check licenses
run: ./cargo-deny -L debug check license
- name: cargo-deny check bans
run: ./cargo-deny -L debug check ban
- uses: EmbarkStudios/cargo-deny-action@v0

test:
runs-on: ${{ matrix.os }}
Expand Down

0 comments on commit 5e6b1fe

Please sign in to comment.