Skip to content

Commit c3ba104

Browse files
committed
Add _compatibility package
commit-id:4ff317d1
1 parent bc976b1 commit c3ba104

File tree

84 files changed

+7836
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+7836
-2
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,19 @@ jobs:
206206
working-directory: crates/snforge-scarb-plugin
207207
run: cargo test --release
208208

209+
test-forge-scarb-plugin-compatibility:
210+
name: Test Forge Scarb Plugin Compatibility
211+
runs-on: ubuntu-latest
212+
steps:
213+
- uses: actions/checkout@v4
214+
- uses: dtolnay/rust-toolchain@stable
215+
- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6
216+
- uses: software-mansion/setup-scarb@v1
217+
- uses: software-mansion/setup-universal-sierra-compiler@v1
218+
- name: Run Forge Scarb Plugin tests
219+
working-directory: crates/snforge-scarb-plugin-compatibility
220+
run: cargo test --release
221+
209222
test-cast:
210223
name: Test Cast
211224
runs-on: ubuntu-latest
@@ -261,7 +274,7 @@ jobs:
261274
- uses: software-mansion/setup-scarb@v1
262275
- name: Check cairo files format
263276
run: |
264-
output=$(find . -type f -name "Scarb.toml" -execdir sh -c '
277+
output=$(find . -type f -name "Scarb.toml" -not -path "*/snforge_std_compatibility/*" -execdir sh -c '
265278
echo "Running \"scarb fmt\" in directory: $PWD"
266279
scarb fmt --check
267280
' \;)

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ members = [
1919
"crates/foundry-ui",
2020
]
2121

22-
exclude = ["crates/snforge-scarb-plugin"]
22+
exclude = ["crates/snforge-scarb-plugin", "crates/snforge-scarb-plugin-compatibility"]
2323

2424
[workspace.package]
2525
version = "0.45.0"

0 commit comments

Comments
 (0)