From: Leonardo Lima Date: Tue, 28 Jan 2025 14:06:55 +0000 (-0300) Subject: fix(cont-integration): template injection audit X-Git-Tag: bitcoind_rpc-0.18.0~2^2 X-Git-Url: http://internal-gitweb-vhost/script/%22https:/database/scripts/static.files/static/gitweb.css?a=commitdiff_plain;h=30dce98450fb3a919babfe512d8e8d505f3dddd8;p=bdk fix(cont-integration): template injection audit - fixes the `template_injection` audit failure due to `matrix.rust.version` usage, use an environement var instead see: https://woodruffw.github.io/zizmor/audits/#template-injection --- diff --git a/.github/workflows/cont_integration.yml b/.github/workflows/cont_integration.yml index 56e1fea8..f13bca2f 100644 --- a/.github/workflows/cont_integration.yml +++ b/.github/workflows/cont_integration.yml @@ -52,8 +52,10 @@ jobs: if: matrix.rust.version == '1.63.0' run: ./ci/pin-msrv.sh - name: Build + Test + env: + MATRIX_RUST_VERSION: ${{ matrix.rust.version }} run: | - if [ "${{matrix.rust.version}}" = '1.63.0' ]; then + if [ $MATRIX_RUST_VERSION = '1.63.0' ]; then cargo build --workspace --exclude 'example_*' --exclude 'bdk_electrum' ${{ matrix.features }} cargo test --workspace --exclude 'example_*' --exclude 'bdk_electrum' ${{ matrix.features }} else