Skip to content

Commit

Permalink
use explicit toolchain override
Browse files Browse the repository at this point in the history
  • Loading branch information
eike-hass committed Feb 8, 2023
1 parent deeca04 commit 55c3b36
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,17 @@ jobs:
#run: cargo install dprint # installing from source is slow, ~5 minutes

- name: core fmt check
run: cargo fmt --all -- --check
run: cargo +nightly fmt --all -- --check

- name: wasm fmt check
run: cargo fmt --manifest-path ./bindings/wasm/Cargo.toml --all -- --check
run: cargo +nightly fmt --manifest-path ./bindings/wasm/Cargo.toml --all -- --check

# Deactivated while the crate is broken, which is the case due to the removal of identity_account_storage.
# - name: stronghold-nodejs fmt check
# run: cargo fmt --manifest-path ./bindings/stronghold-nodejs/Cargo.toml --all -- --check

- name: libjose fmt check
run: cargo fmt --manifest-path ./libjose/Cargo.toml --all -- --check
run: cargo +nightly fmt --manifest-path ./libjose/Cargo.toml --all -- --check

# Use `dprint` to check Cargo.toml formatting.
# To fix, run `dprint fmt` locally.
Expand All @@ -58,4 +58,4 @@ jobs:
dprint check

- name: cargo-license-template check
run: cargo license-template --template .license_template --ignore .license_template_ignore --verbose
run: cargo +nightly license-template --template .license_template --ignore .license_template_ignore --verbose
3 changes: 1 addition & 2 deletions .github/workflows/test-docs-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,4 @@ jobs:
- name: Test Rust Documentation
env:
RUSTDOCFLAGS: "-D warnings --cfg docsrs"
RUSTUP_TOOLCHAIN: "nightly"
run: cargo doc --all-features --no-deps --workspace
run: cargo +nightly doc --all-features --no-deps --workspace

0 comments on commit 55c3b36

Please sign in to comment.