Skip to content

[CI] Run proptests only on main #52

[CI] Run proptests only on main

[CI] Run proptests only on main #52

name: Merkle Incentives
on:
pull_request:
branches:
- main
paths:
- 'smart-contracts/contracts/merkle-incentives/Cargo.toml'
- 'smart-contracts/contracts/merkle-incentives/**.rs'
- '.github/workflows/rust_basic.yml'
- '.github/workflows/rust_test_tube.yml'
- '.github/workflows/merkle_incentives.yml'
push:
branches:
- main
paths:
- 'smart-contracts/contracts/merkle-incentives/Cargo.toml'
- 'smart-contracts/contracts/merkle-incentives/**.rs'
- '.github/workflows/rust_basic.yml'
- '.github/workflows/rust_test_tube.yml'
- '.github/workflows/merkle_incentives.yml'
workflow_dispatch:
jobs:
unit-test:
uses: ./.github/workflows/rust_basic.yml
with:
target: 'contracts/merkle-incentives'
test-tube:
uses: ./.github/workflows/rust_test_tube.yml
with:
contract: 'merkle-incentives'