X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=.github%2Fworkflows%2Fbuild.yml;h=8e02ec9da75c803caa0dfd9b797ea6b892a13298;hb=c3de782a2baab0c742332bea4783c393edb83311;hp=72220d831d3bfe60085df12b16d3c0a8e5be1de2;hpb=9f8e832c7b2a48f6cbc58165b16b6f79e9ca329c;p=rust-lightning diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 72220d83..8e02ec9d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,16 @@ name: Continuous Integration Checks -on: [push, pull_request] +on: + push: + branches-ignore: + - master + pull_request: + branches-ignore: + - master + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: build: @@ -180,6 +190,15 @@ jobs: cargo check --no-default-features --features=futures --release cargo doc --release RUSTDOCFLAGS="--cfg=anchors" cargo doc --release + - name: Run cargo check for Taproot build. + run: | + cargo check --release + cargo check --no-default-features --features=no-std --release + cargo check --no-default-features --features=futures --release + cargo doc --release + env: + RUSTFLAGS: '--cfg=anchors --cfg=taproot' + RUSTDOCFLAGS: '--cfg=anchors --cfg=taproot' fuzz: runs-on: ubuntu-latest