dfinity / examples

Example applications, microservices, and code samples for the Internet Computer
https://dfinity.org
Apache License 2.0
523 stars 337 forks source link

Update rust-basic-bitcoin-example.yml #758

Closed dsarlis closed 5 months ago

dsarlis commented 5 months ago

Use --clean when starting dfx for the rust basic bitcoin workflow to avoid any old state lingering around affect things.

dfx-json commented 5 months ago

I would also suggest adding - .github/workflows/rust-basic-bitcoin-example.yaml and - rust/basic_bitcoin/** to motoko-basic-bitcoin.yaml if you'd like the workflow to run for the motoko example any time changes are made to the rust one


name: motoko-basic-bitcoin
on:
  push:
    branches:
      - master
  pull_request:
    paths:
      - motoko/basic_bitcoin/**
      - rust/basic_bitcoin/**
      - .github/workflows/provision-darwin.sh
      - .github/workflows/provision-linux.sh
      - .github/workflows/motoko-basic-bitcoin.yaml
      - .github/workflows/rust-basic-bitcoin-example.yaml```