From 87b63f3977a380a02f9090b1aa50c17e31c4045c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20M=2E=20Gonz=C3=A1lez?= Date: Fri, 1 Nov 2024 18:24:25 -0300 Subject: [PATCH] Use Scout repo for tests. --- .github/workflows/test-detectors-pr.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-detectors-pr.yml b/.github/workflows/test-detectors-pr.yml index 058d63ca..02a407f1 100644 --- a/.github/workflows/test-detectors-pr.yml +++ b/.github/workflows/test-detectors-pr.yml @@ -60,8 +60,18 @@ jobs: - name: Install Rust nightly run: rustup install nightly --profile minimal - - name: Install dylint, dylint-link and cargo-scout-audit - run: cargo +nightly install cargo-dylint dylint-link cargo-scout-audit + - name: Install dylint, dylint-link + run: cargo +nightly install cargo-dylint dylint-link + + - name: Clone cargo-scout-audit + run: git clone https://github.com/CoinFabrik/scout-audit.git -b blockchain-detection-fix scout-repo + + - name: Install cargo-scout-audit + working-directory: scout-repo/apps/cargo-scout-audit + run: cargo install --path . + + - name: Clean up after installation + run: rm -rf scout-repo - name: Determine build status and write to file run: echo "${{ job.status }}" > status-${{ matrix.os }}.txt