X-Git-Url: http://git.bitcoin.ninja/index.cgi?p=ldk-c-bindings;a=blobdiff_plain;f=.github%2Fworkflows%2Fbuild.yml;fp=.github%2Fworkflows%2Fbuild.yml;h=b64b7c09c5d4b6e6b20500bfdaa0487be3965a1c;hp=b68feb7b96c1b05af6e74567d00d6e1574ad7067;hb=6c781729ce38a127a88acc6e1ce1acd57b969b3e;hpb=3c64a6c2358cfce2194c9db33890de03a5618984 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b68feb7..b64b7c0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,9 +18,14 @@ jobs: apt-get -y install cargo libstd-rust-dev-wasm32 valgrind lld git g++ clang - name: Checkout source code uses: actions/checkout@v2 + with: + fetch-depth: 0 - name: Sanity test bindings against Cargo.toml RL working-directory: lightning-c-bindings - run: cargo check + run: | + # Note that the version tags aren't checked into git + touch src/version.rs + cargo check - name: Install cbindgen run: cargo install --force cbindgen - name: Checkout Rust-Lightning git