Skip to content

Commit

Permalink
fix: path expansion in glob pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
smol-ninja committed Aug 22, 2024
1 parent 3d80ef4 commit 4e18692
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,15 @@ jobs:
- name: "Check out the repo"
uses: "actions/checkout@v4"

- name: "Install and run Bulloak"
uses: "smol-ninja/bulloak-toolchain@main"
- name: "Install and run Bulloak on path without quotes"
uses: "smol-ninja/bulloak-toolchain@staging"
with:
tree-path: "test-workspace/**.tree"
tree-path: test-workspace

- name: "Install and run Bulloak on path with quotes"
uses: "smol-ninja/bulloak-toolchain@staging"
with:
tree-path: "test-workspace"

- name: "Bulloak summary"
run: |
Expand Down
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ runs:
run: |
echo "🌳 Checking the Solidity tests using Bulloak"
if [ "$SKIP_MODIFIERS" == "true" ]; then
bulloak check $TREE_PATH --skip-modifiers
find $TREE_PATH -name "*.tree" -print0 | xargs -0 -I {} sh -c 'bulloak check "{}" --skip-modifiers'
else
bulloak check $TREE_PATH
find $TREE_PATH -name "*.tree" -print0 | xargs -0 -I {} sh -c 'bulloak check "{}"'
fi
File renamed without changes.
File renamed without changes.

0 comments on commit 4e18692

Please sign in to comment.