From 6320411f60f0612da1ce6ad1ea0c353844720d5b Mon Sep 17 00:00:00 2001 From: hinto-janai Date: Thu, 16 Jan 2025 11:31:55 -0500 Subject: [PATCH] ci: stable Rust for `deny`, remove `boost` dep for docs (#364) * doc.yml: remove boost dep * deny.yml: install stable rust --- .github/workflows/deny.yml | 7 +++++++ .github/workflows/doc.yml | 6 ------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deny.yml b/.github/workflows/deny.yml index 2ff2b6f..497097d 100644 --- a/.github/workflows/deny.yml +++ b/.github/workflows/deny.yml @@ -25,9 +25,16 @@ jobs: ~/.cargo target key: deny + + - name: Install Rust + uses: dtolnay/rust-toolchain@master + with: + toolchain: stable + - uses: actions/checkout@v4 with: submodules: recursive + - name: Install dependencies run: cargo install cargo-deny --locked - name: Deny diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index 8ed932a..c317e2b 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -40,12 +40,6 @@ jobs: path: target/debug key: doc - # Packages other than `Boost` used by `Monero` are listed here. - # https://github.com/monero-project/monero/blob/c444a7e002036e834bfb4c68f04a121ce1af5825/.github/workflows/build.yml#L71 - - - name: Install dependencies (Linux) - run: sudo apt install -y libboost-dev - - name: Documentation run: cargo +nightly doc --workspace --all-features