Skip to content

Commit

Permalink
Try fix CI error with rust-src
Browse files Browse the repository at this point in the history
  • Loading branch information
jgcrosta committed May 7, 2024
1 parent f637301 commit a57b53d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/test-detectors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,13 @@ jobs:
key: ${{ runner.os }}-tests-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-tests-

- name: Install Rust nightly
run: rustup install nightly-2023-12-16
- name: Install Rust nightly and add rust-src
run: |
rustup install nightly-2023-12-16
rustup +nightly component add rust-src
- name: Install dylint, dylint-link and cargo-scout-audit
run: cargo +nightly-2023-12-16 install cargo-dylint dylint-link cargo-scout-audit@0.2.8
run: cargo +nightly-2023-12-16 install cargo-dylint dylint-link cargo-scout-audit

- name: Determine build status and write to file
run: echo "${{ job.status }}" > status-${{ matrix.os }}.txt
Expand Down Expand Up @@ -139,7 +141,7 @@ jobs:

- name: Read macOS build status
id: macos_status
working-directory: build-status-macos-latest
working-directory: build-status-macos-13
run: echo "status=$(cat status-macos-13.txt)" >> $GITHUB_OUTPUT

- name: Find comment
Expand Down

0 comments on commit a57b53d

Please sign in to comment.