From: Matt Corallo Date: Sun, 2 May 2021 22:36:34 +0000 (+0000) Subject: Update CI to work around missing version.rs X-Git-Tag: v0.0.98~8^2 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=6c781729ce38a127a88acc6e1ce1acd57b969b3e;p=ldk-c-bindings Update CI to work around missing version.rs --- 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