From 5e6b1fe487dbfb417b19bdf505e3c32b6c23e2b8 Mon Sep 17 00:00:00 2001 From: Johan Andersson Date: Fri, 20 Dec 2019 17:41:37 +0100 Subject: [PATCH] chore(ci): Switch to use GitHub Action for cargo-deny (#201) --- .github/workflows/CI.yml | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index afde5a4..042e830 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -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 }}