Skip to content

Commit

Permalink
adding linting to submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroknots committed Feb 16, 2024
1 parent 9b3c00e commit 808e418
Showing 1 changed file with 24 additions and 6 deletions.
30 changes: 24 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,38 @@ jobs:
match-path: "test/**/*.sol"
name: "Unit tests"

workspace-safe7579:
needs: ["build"]
lint-safe7579:
needs: ["lint", "test-unit"]
uses: "rhinestonewtf/reusable-workflows/.github/workflows/forge-lint-workspaces.yaml@main"
with:
match-workspace: "@rhinestone/safe7579"

test-safe7579:
needs: ["build", "test-unit"]
uses: "rhinestonewtf/reusable-workflows/.github/workflows/forge-test-workspaces.yaml@main"
with:
match-workspace: "@rhinestone/safe7579"

workspace-sessionkeymanager:
needs: ["build"]
lint-sessionkeymanager:
needs: ["lint", "test-unit"]
uses: "rhinestonewtf/reusable-workflows/.github/workflows/forge-lint-workspaces.yaml@main"
with:
match-workspace: "@rhinestone/sessionkeymanager"

test-sessionkeymanager:
needs: ["build", "test-unit"]
uses: "rhinestonewtf/reusable-workflows/.github/workflows/forge-test-workspaces.yaml@main"
with:
match-workspace: "@rhinestone/sessionkeymanager"

workspace-examples:
needs: ["build"]
lint-modulekit-examples:
needs: ["lint", "test-unit"]
uses: "rhinestonewtf/reusable-workflows/.github/workflows/forge-lint-workspaces.yaml@main"
with:
match-workspace: "@rhinestone/modulekit-examples"

test-modulekit-examples:
needs: ["build", "test-unit"]
uses: "rhinestonewtf/reusable-workflows/.github/workflows/forge-test-workspaces.yaml@main"
with:
match-workspace: "@rhinestone/modulekit-examples"

0 comments on commit 808e418

Please sign in to comment.