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 }}