feat: ensure that each package is published before the next #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: standalone RPC | |
on: [push] | |
jobs: | |
test: | |
name: test generated libraries | |
runs-on: ubuntu-20.04 | |
services: | |
rpc: | |
image: stellar/quickstart:soroban-dev@sha256:a6b03cf6b0433c99f2f799b719f0faadbb79684b1b763e7674ba749fb0f648ee | |
ports: | |
- 8000:8000 | |
env: | |
ENABLE_LOGS: true | |
NETWORK: standalone | |
ENABLE_SOROBAN_RPC: true | |
options: >- | |
--health-cmd "curl -X POST \"http://localhost:8000/soroban/rpc\"" | |
--health-interval 10s | |
--health-timeout 5s | |
--health-retries 5 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/cache@v3 | |
with: | |
path: | | |
~/.cargo/bin/ | |
~/.cargo/registry/index/ | |
~/.cargo/registry/cache/ | |
~/.cargo/git/db/ | |
target/ | |
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
- uses: taiki-e/install-action@just | |
- run: rustup update | |
- run: rustup target add wasm32-unknown-unknown | |
- run: just setup | |
- run: just clean | |
- run: just publish_all | |
- run: just deployed_contracts |