Executable account fix #366
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: Build Project | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
toolchain: | |
- stable | |
name: Build project - rust ${{ matrix.toolchain }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Cache Rust dependencies | |
uses: actions/cache@v4 | |
with: | |
path: | | |
~/.cargo | |
target | |
key: ${{ runner.os }}-cargo-${{ matrix.toolchain }}-${{ hashFiles('**/Cargo.lock') }} | |
restore-keys: | | |
${{ runner.os }}-cargo- | |
- name: Setup Rust toolchain | |
uses: dtolnay/rust-toolchain@stable | |
- name: Build workspace | |
run: | | |
cargo build --all --all-features --exclude openrpc-testgen --exclude openrpc-testgen-runner | |
- name: Build openrpc-testgen/openrpc-testgen-runner | |
run: | | |
cargo build -p openrpc-testgen -p openrpc-testgen-runner --features "openrpc katana katana_no_fee katana_no_mining katana_no_account_validation" |