Skip to content

Commit 135255c

Browse files
committed
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
1 parent 4ce9139 commit 135255c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/cont_integration.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,11 @@ jobs:
5252
if: matrix.rust.version == '1.63.0'
5353
run: ./ci/pin-msrv.sh
5454
- name: Build + Test
55+
env:
56+
MATRIX_RUST_VERSION: ${{ matrix.rust.version }}
5557
run: |
56-
if [ "${{matrix.rust.version}}" = '1.63.0' ]; then
58+
rust_version='${MATRIX_RUST_VERSION}'
59+
if [ $rust_version = '1.63.0' ]; then
5760
cargo build --workspace --exclude 'example_*' --exclude 'bdk_electrum' ${{ matrix.features }}
5861
cargo test --workspace --exclude 'example_*' --exclude 'bdk_electrum' ${{ matrix.features }}
5962
else

0 commit comments

Comments
 (0)