Skip to content

build: guesses at docker publish workflow behavior #75

build: guesses at docker publish workflow behavior

build: guesses at docker publish workflow behavior #75

Workflow file for this run

name: bindings typescript
on:
push:
branches: [main, release/**]
pull_request:
jobs:
publish-docker:
concurrency:

Check failure on line 11 in .github/workflows/bindings-ts.yml

View workflow run for this annotation

GitHub Actions / bindings typescript

Invalid workflow file

The workflow is not valid. .github/workflows/bindings-ts.yml (Line: 11, Col: 5): Required property is missing: runs-on
group: docker-publish-${{ github.ref }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/publish-docker-container
test:
needs: publish-docker
name: test generated libraries
runs-on: ubuntu-22.04
services:
rpc:
image: stellar/quickstart:testing@sha256:${{needs.publish-docker.outputs.hash}}
ports:
- 8000:8000
env:
ENABLE_LOGS: true
NETWORK: local
ENABLE_SOROBAN_RPC: true
options: >-
--health-cmd "curl --no-progress-meter --fail-with-body -X POST \"http://localhost:8000/soroban/rpc\" -H 'Content-Type: application/json' -d '{\"jsonrpc\":\"2.0\",\"id\":8675309,\"method\":\"getNetwork\"}' && curl --no-progress-meter --fail-with-body \"http://localhost:8000/friendbot\" | grep '\"invalid_field\": \"addr\"'"
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- run: echo $CARGO_TARGET_DIR
- uses: actions/checkout@v3
- run: "curl --fail-with-body -X POST \"http://localhost:8000/soroban/rpc\" -H 'Content-Type: application/json' -d '{\"jsonrpc\":\"2.0\",\"id\":8675309,\"method\":\"getNetwork\"}'"
- run: curl --no-progress-meter --fail-with-body "http://localhost:8000/friendbot?addr=$(./soroban config identity address)"
working-directory: cmd/crates/soroban-spec-typescript/ts-tests
- run: ./soroban config identity fund --network standalone
working-directory: cmd/crates/soroban-spec-typescript/ts-tests
- 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') }}
- run: rustup update
- run: cargo build
- run: rustup target add wasm32-unknown-unknown
- run: make build-test-wasms
- run: curl "http://localhost:8000/friendbot?addr=$(./soroban config identity address)"
- run: npm ci && npm run test
working-directory: cmd/crates/soroban-spec-typescript/ts-tests