Skip to content

Commit cdf919e

Browse files
committed
Add _compatibility package
commit-id:4ff317d1
1 parent 338a09e commit cdf919e

File tree

85 files changed

+7876
-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.

85 files changed

+7876
-2
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,19 @@ jobs:
220220
working-directory: crates/snforge-scarb-plugin
221221
run: cargo test --release
222222

223+
test-forge-scarb-plugin-compatibility:
224+
name: Test Forge Scarb Plugin Compatibility
225+
runs-on: ubuntu-latest
226+
steps:
227+
- uses: actions/checkout@v4
228+
- uses: dtolnay/rust-toolchain@stable
229+
- uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6
230+
- uses: software-mansion/setup-scarb@v1
231+
- uses: software-mansion/setup-universal-sierra-compiler@v1
232+
- name: Run Forge Scarb Plugin tests
233+
working-directory: crates/snforge-scarb-plugin-compatibility
234+
run: cargo test --release
235+
223236
test-cast:
224237
name: Test Cast
225238
runs-on: ubuntu-latest
@@ -275,7 +288,7 @@ jobs:
275288
- uses: software-mansion/setup-scarb@v1
276289
- name: Check cairo files format
277290
run: |
278-
output=$(find . -type f -name "Scarb.toml" -execdir sh -c '
291+
output=$(find . -type f -name "Scarb.toml" -not -path "*/snforge_std_compatibility/*" -execdir sh -c '
279292
echo "Running \"scarb fmt\" in directory: $PWD"
280293
scarb fmt --check
281294
' \;)

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.46.0"

0 commit comments

Comments
 (0)