Skip to content

Commit

Permalink
Update deps and audit (#429)
Browse files Browse the repository at this point in the history
* update deps and audit

* don't error on audit fail
  • Loading branch information
freesig authored Apr 26, 2023
1 parent 130f845 commit 8250a5d
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 6 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,3 +144,12 @@ jobs:
uses: katyo/publish-crates@v2
with:
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}

cargo_audit:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v3
- uses: rustsec/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/nightly-cargo-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
cargo_audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/audit-check@v1
- uses: actions/checkout@v3
- uses: rustsec/audit-check@v1.4.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions fuel-crypto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ description = "Fuel cryptographic primitives."

[dependencies]
borrown = "0.1"
coins-bip32 = { version = "0.7", default-features = false, optional = true }
coins-bip39 = { version = "0.7", default-features = false, optional = true }
coins-bip32 = { version = "0.8", default-features = false, optional = true }
coins-bip39 = { version = "0.8", default-features = false, features = ["english"], optional = true }
fuel-types = { workspace = true, default-features = false }
lazy_static = { version = "1.4", optional = true }
rand = { version = "0.8", default-features = false, optional = true }
Expand Down
2 changes: 1 addition & 1 deletion fuel-crypto/src/mnemonic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ use rand::Rng;
/// Generates a random mnemonic phrase given a random number generator and
/// the number of words to generate, `count`.
pub fn generate_mnemonic_phrase<R: Rng>(rng: &mut R, count: usize) -> Result<String, Error> {
Ok(Mnemonic::<English>::new_with_count(rng, count)?.to_phrase()?)
Ok(Mnemonic::<English>::new_with_count(rng, count)?.to_phrase())
}
2 changes: 1 addition & 1 deletion fuel-vm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ fuel-vm = { path = ".", default-features = false, features = ["test-helpers", "s
num-integer = "0.1.45"
quickcheck = "1.0"
quickcheck_macros = "1.0"
rayon = "1.5.3"
rayon = "1.7"
rstest = "0.16"
serde_json = "1.0"
test-case = "2.2"
Expand Down

0 comments on commit 8250a5d

Please sign in to comment.