From 6c781729ce38a127a88acc6e1ce1acd57b969b3e Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Sun, 2 May 2021 22:36:34 +0000 Subject: [PATCH] Update CI to work around missing version.rs --- .github/workflows/build.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- 2.30.2