Merge branch 'starknet-io:main' into main #1
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
on: | |
push: | |
branches: | |
- "main" | |
pull_request: | |
name: "Build feature combinations" | |
jobs: | |
feature-powerset: | |
name: "Build ${{ matrix.package }} features" | |
runs-on: "ubuntu-latest" | |
strategy: | |
matrix: | |
package: | |
- "starknet-types-core" | |
- "starknet-types-rpc" | |
steps: | |
- name: "Checkout source code" | |
uses: "actions/checkout@v3" | |
- name: "Setup stable toolchain" | |
uses: "actions-rs/toolchain@v1" | |
with: | |
toolchain: "stable" | |
profile: "minimal" | |
override: true | |
- name: "Install cargo-hack" | |
run: | | |
cargo install --locked cargo-hack | |
- name: "Build all feature combinations" | |
run: | | |
cargo hack build --package ${{ matrix.package }} --feature-powerset |