Skip to content

Commit 30dce98

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 30dce98

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/cont_integration.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,10 @@ 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+
if [ $MATRIX_RUST_VERSION = '1.63.0' ]; then
5759
cargo build --workspace --exclude 'example_*' --exclude 'bdk_electrum' ${{ matrix.features }}
5860
cargo test --workspace --exclude 'example_*' --exclude 'bdk_electrum' ${{ matrix.features }}
5961
else

0 commit comments

Comments
 (0)