Skip to content

Commit

Permalink
add cache and pin cairo-lint commit
Browse files Browse the repository at this point in the history
  • Loading branch information
dlaciport committed Nov 2, 2024
1 parent ccb3fb0 commit 2cfbf4d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
pull_request:
permissions: read-all

env:
CAIRO_LINT_REF: e6dbb895


jobs:
markdown:
runs-on: ubuntu-latest
Expand All @@ -34,8 +38,8 @@ jobs:
- name: Cache Rust dependencies
uses: actions/cache@v3
- name: Install cairo-lint
run: cargo install scarb-cairo-lint --git https://github.com/keep-starknet-strange/cairo-lint

run: cargo install scarb-cairo-lint --git https://github.com/keep-starknet-strange/cairo-lint -rev ${{ env.CAIRO_LINT_REF }}
- uses: asdf-vm/actions/install@v3
- name: Run cairo-lint and check for warnings
run: |
Expand Down

0 comments on commit 2cfbf4d

Please sign in to comment.