use mainstream faster-hex #177
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-FileCopyrightText: © 2023 Foundation Devices, Inc. <[email protected]> | |
# SPDX-License-Identifier: GPL-3.0-or-later | |
name: Dependencies | |
on: | |
push: | |
paths: | |
- '**/Cargo.toml' | |
- '**/Cargo.lock' | |
jobs: | |
pass-security-audit: | |
name: Pass security audit? | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/rust-toolchain | |
with: | |
toolchain: 1.75 | |
- run: cargo install --locked cargo-audit | |
- run: cargo audit | |
are-versions-really-minimal: | |
name: Are versions really minimal? | |
needs: [pass-security-audit] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/rust-toolchain | |
with: | |
toolchain: nightly | |
- run: rustup override set nightly | |
# hex-conservative uses wrong minimal versions. | |
- run: cargo update -p arrayvec --precise 0.7.4 -Z minimal-versions | |
- run: cargo check -Z minimal-versions |