Merge pull request #12 from datachainlab/fix-forks #35
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: no_std check | |
on: | |
pull_request: | |
paths: | |
- .github/workflows/no-std.yml | |
- Cargo.toml | |
- Cargo.lock | |
- ci/** | |
- crates/** | |
push: | |
branches: main | |
paths: | |
- .github/workflows/no-std.yml | |
- Cargo.toml | |
- Cargo.lock | |
- ci/** | |
- crates/** | |
jobs: | |
check-no-std-panic-conflict: | |
name: Check no_std panic conflict | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rust-lang/setup-rust-toolchain@v1 | |
with: | |
toolchain: stable | |
- run: | | |
cd ci/no-std-check | |
make check-panic-conflict | |
check-substrate: | |
name: Check no_std substrate support | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rust-lang/setup-rust-toolchain@v1 | |
with: | |
toolchain: nightly | |
target: wasm32-unknown-unknown | |
- run: | | |
cd ci/no-std-check | |
make check-substrate |