Skip to content

Feat/cicd

Feat/cicd #1

Workflow file for this run

name: Continuous Integration
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build_merkletreers_library:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --release
merkle_root:
depends-on: ["build_merkletreers_library"]

Check failure on line 19 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / Continuous Integration

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 19, Col: 5): Unexpected value 'depends-on' .github/workflows/ci.yml (Line: 28, Col: 5): Unexpected value 'depends-on'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run merkle_root tests
run: cargo test merkle_root
merkle_proof:
depends-on: ["build_merkletreers_library"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run merkle_proof tests
run: cargo test merkle_proof
merkle_proof_check:
depends-on: ["build_merkletreers_library"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run merkle_proof_check tests
run: cargo test merkle_proof_check