Skip to content

Commit 046a376

Browse files
Refactor: Addressing SecObserve advisories (#1232)
* Refactor: Addressing SecObserve advisories * Fix workflow YAML formatting --------- Co-authored-by: Nick <10092581+NickLarsenNZ@users.noreply.github.com>
1 parent 2eb61e9 commit 046a376

2 files changed

Lines changed: 12 additions & 9 deletions

File tree

.github/workflows/pr_security-checks.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@ jobs:
2626
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2727
with:
2828
persist-credentials: false
29-
- uses: dtolnay/rust-toolchain@efa25f7f19611383d5b0ccf2d1c8914531636bf9
30-
with:
31-
toolchain: ${{ env.RUST_TOOLCHAIN_VERSION }}
29+
- name: Install rust toolchain
30+
run: |
31+
rustup toolchain install "${RUST_TOOLCHAIN_VERSION}"
32+
rustup default "${RUST_TOOLCHAIN_VERSION}"
3233
- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
3334
with:
3435
key: udeps
@@ -51,9 +52,10 @@ jobs:
5152
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5253
with:
5354
persist-credentials: false
54-
- uses: dtolnay/rust-toolchain@efa25f7f19611383d5b0ccf2d1c8914531636bf9
55-
with:
56-
toolchain: ${{ env.RUST_TOOLCHAIN_VERSION }}
55+
- name: Install rust toolchain
56+
run: |
57+
rustup toolchain install "${RUST_TOOLCHAIN_VERSION}"
58+
rustup default "${RUST_TOOLCHAIN_VERSION}"
5759
- uses: EmbarkStudios/cargo-deny-action@3fd3802e88374d3fe9159b834c7714ec57d6c979 # v2.0.15
5860
with:
5961
command: check ${{ matrix.checks }}

.github/workflows/publish-docs.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@ jobs:
2626
with:
2727
persist-credentials: false
2828

29-
- uses: dtolnay/rust-toolchain@efa25f7f19611383d5b0ccf2d1c8914531636bf9
30-
with:
31-
toolchain: ${{ env.RUST_TOOLCHAIN_VERSION }}
29+
- name: Install rust toolchain
30+
run: |
31+
rustup toolchain install "${RUST_TOOLCHAIN_VERSION}"
32+
rustup default "${RUST_TOOLCHAIN_VERSION}"
3233
3334
- name: Build Crate Docs
3435
run: cargo doc --no-deps --all-features

0 commit comments

Comments
 (0)