Skip to content

Commit

Permalink
nit: use shorthand -w
Browse files Browse the repository at this point in the history
  • Loading branch information
Farhad-Shabani committed Sep 11, 2024
1 parent 3854434 commit 2fe6615
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cairo-contracts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ jobs:
working-directory: ./cairo-contracts
run: |
nix develop -c \
snforge test --workspace
snforge test --w
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
working-directory: ./cairo-contracts
run: |
nix shell ..#scarb -c \
scarb fmt --workspace --check
scarb fmt -w --check
- name: Format Light Client
working-directory: ./light-client
Expand Down
4 changes: 2 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ build-cairo-contracts:
# Tests the Cairo contracts
test-cairo-contracts:
cd ./cairo-contracts && \
snforge test --workspace
snforge test -w

lint: lint-toml lint-light-client lint-cairo lint-nix lint-relayer

Expand All @@ -37,7 +37,7 @@ lint-relayer:
# Runs formatter and clippy for all the cargo and scarb packages
lint-cairo:
cd ./cairo-contracts && \
scarb fmt --check --workspace
scarb fmt -w --check

lint-nix:
cd ./relayer && \
Expand Down

0 comments on commit 2fe6615

Please sign in to comment.