Skip to content

Commit

Permalink
caracal
Browse files Browse the repository at this point in the history
  • Loading branch information
Sk8erboi84 committed Nov 11, 2023
1 parent 44ac3b0 commit a9452fa
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,19 @@ jobs:
~/.cargo
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

# - name: Check if Caracal is installed
# id: check-caracal
# run: |
# if ! command -v caracal &> /dev/null; then
# echo "Caracal is not installed. Installing..."
# cargo install --git https://github.com/crytic/caracal --profile release --force
# else
# echo "Caracal is already installed."
# fi
# - name: Run Caracal
# run: caracal detect . > caracal-output.txt
# - name: Save Caracal Output as an Artifact
# uses: actions/upload-artifact@v3
# with:
# name: caracal-cairo
# path: caracal-output.txt
- name: Check if Caracal is installed
id: check-caracal
run: |
if ! command -v caracal &> /dev/null; then
echo "Caracal is not installed. Installing..."
cargo install --git https://github.com/crytic/caracal --profile release --force
else
echo "Caracal is already installed."
fi
- name: Run Caracal
run: caracal detect . > caracal-output.txt
- name: Save Caracal Output as an Artifact
uses: actions/upload-artifact@v3
with:
name: caracal-cairo
path: caracal-output.txt

0 comments on commit a9452fa

Please sign in to comment.