trigger workflow on ci_cd branch pushes #2
Workflow file for this run
This file contains hidden or 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: Smoldot Workflow Test | |
| on: | |
| push: | |
| branches: [main, ci_cd] | |
| pull_request: | |
| branches: [main] | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| CI_IMAGE: "paritytech/ci-unified:bullseye-1.88.0-2025-06-27-v202507112050" | |
| jobs: | |
| smoldot-docker-test: | |
| name: Smoldot Docker Test | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 60 | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@v4 | |
| - name: Install Rust toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Rust cache | |
| uses: Swatinem/rust-cache@v2 | |
| with: | |
| cache-on-failure: true | |
| cache-all-crates: true | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: 'npm' | |
| cache-dependency-path: examples/package.json | |
| - name: Install just | |
| run: cargo install just --locked || true | |
| - name: Download zombienet | |
| run: | | |
| wget -q "https://github.com/paritytech/zombienet/releases/download/v1.3.133/zombienet-linux-x64" | |
| chmod +x zombienet-linux-x64 | |
| - name: Verify Docker is working | |
| run: | | |
| docker --version | |
| docker ps | |
| docker run hello-world | |
| - name: Run smoldot workflow test | |
| working-directory: examples | |
| run: just run-authorize-and-store-smoldot-docker |