From 0b1a9d735b6b192342f0f97818af0f17f770450d Mon Sep 17 00:00:00 2001 From: bjorn3 <17426603+bjorn3@users.noreply.github.com> Date: Mon, 24 Jul 2023 12:29:47 +0000 Subject: [PATCH] Speed up audit workflow --- .github/workflows/audit.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index 3d6c766e365..3efdec41559 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -11,6 +11,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - run: | + sed -i 's/components.*/components = []/' rust-toolchain + echo 'profile = "minimal"' >> rust-toolchain - uses: rustsec/audit-check@v1.4.1 with: token: ${{ secrets.GITHUB_TOKEN }}