chore: migrate deployment script to sncast #741
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Caracal | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- "**.md" | |
pull_request: | |
types: [opened, synchronize, reopened, ready_for_review] | |
paths-ignore: | |
- "**.md" | |
jobs: | |
build: | |
if: ${{ false }} | |
# TODO: temporarily disabled until Caracal supports Cairo v2.4.0 | |
# if: '! github.event.pull_request.draft' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: software-mansion/setup-scarb@v1 | |
with: | |
scarb-version: "2.4.0" | |
- name: Run Caracal | |
run: | | |
curl -LO https://github.com/crytic/caracal/releases/download/v0.2.2/caracal-v0.2.2-linux.tar.gz | |
tar -xvf caracal-v0.2.2-linux.tar.gz | |
./caracal detect . |