From 5fb7142add8b2fe55b5c59c185802e1cd999f868 Mon Sep 17 00:00:00 2001 From: Robert Kruszewski Date: Wed, 31 Jul 2024 16:57:09 +0100 Subject: [PATCH] Run license check at the end of CI (#530) Running cargo install this updating crates.io index causes maturin to want to install new versions of packages even though nothing should have changed. We sidestep this problem by running maturin before cargo deny --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9f69203947..931ca723aa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,16 +43,16 @@ jobs: - name: Rust Build run: cargo build --all-features --all-targets + - name: Pytest - PyVortex + run: rye run pytest --benchmark-disable test/ + working-directory: pyvortex/ + - name: License Check run: cargo install --locked cargo-deny && cargo deny check - uses: rustsec/audit-check@v1.4.1 with: token: ${{ secrets.GITHUB_TOKEN }} - - name: Pytest - PyVortex - run: rye run pytest --benchmark-disable test/ - working-directory: pyvortex/ - miri: name: 'miri' runs-on: ubuntu-latest