From 109b2413c05c20726f2eb35b056d549b0cf5f979 Mon Sep 17 00:00:00 2001 From: Jonas Bostoen Date: Thu, 28 Nov 2024 10:24:49 +0100 Subject: [PATCH] ci: fix audit check attempt 4 --- .github/workflows/audit.yml | 31 ++++++++++++++++++++++++------- 1 file changed, 24 insertions(+), 7 deletions(-) diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index 1440afbf4..0d72337c7 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -27,17 +27,34 @@ permissions: contents: read jobs: - security-audit: + # security-audit: + # runs-on: ubuntu-latest + # strategy: + # matrix: + # project: [bolt-sidecar, bolt-cli, bolt-boost] + # defaults: + # run: + # working-directory: ${{ matrix.project }} + # name: Security Audit for ${{ matrix.project }} + # steps: + # - uses: actions/checkout@v4 + # - name: Run cargo audit + # run: | + # cargo generate-lockfile + # cargo audit + + # with: + # token: ${{ secrets.GITHUB_TOKEN }} + + audit-sidecar: runs-on: ubuntu-latest - strategy: - matrix: - project: [bolt-sidecar, bolt-cli, bolt-boost] defaults: run: - working-directory: ${{ matrix.project }} - name: Security Audit for ${{ matrix.project }} + working-directory: bolt-sidecar + name: Security Audit for bolt-sidecar steps: - uses: actions/checkout@v4 - - uses: actions-rs/audit-check@v1 + - name: Run cargo audit + uses: actions-rs/audit-check@v1 with: token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file