Replace uses of unmaintained actions-rs/cargo
This commit is contained in:
parent
8a62c54307
commit
636521090e
15
.github/workflows/docs.yml
vendored
15
.github/workflows/docs.yml
vendored
|
@ -48,15 +48,12 @@ jobs:
|
|||
# Nightly is needed to document the SIMD feature and for the
|
||||
# `doc_auto_cfg` feature
|
||||
uses: dtolnay/rust-toolchain@nightly
|
||||
- name: Build all targets
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: doc
|
||||
# Don't use --all-features here as that will enable a whole bunch of
|
||||
# conflicting iced features. We also don't want to use `--workspace`
|
||||
# here because that would also document our plugins and binary crates.
|
||||
args: >-
|
||||
--features docs,simd,standalone,zstd --no-deps
|
||||
- name: Generate documentation for all targets
|
||||
# Don't use --all-features here as that will enable a whole bunch of
|
||||
# conflicting iced features. We also don't want to use `--workspace`
|
||||
# here because that would also document our plugins and binary crates.
|
||||
run: >-
|
||||
cargo doc --features docs,simd,standalone,zstd --no-deps
|
||||
-p nih_plug
|
||||
-p nih_plug_derive
|
||||
-p nih_plug_egui
|
||||
|
|
14
.github/workflows/test.yml
vendored
14
.github/workflows/test.yml
vendored
|
@ -52,15 +52,7 @@ jobs:
|
|||
- name: Set up Rust toolchain
|
||||
# Needed for SIMD
|
||||
uses: dtolnay/rust-toolchain@nightly
|
||||
- name: Build all targets
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: build
|
||||
# Don't use --all-features as that will enable a whole bunch of
|
||||
# conflicting iced features
|
||||
args: --workspace --features "simd,standalone,zstd"
|
||||
- name: Run the tests
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: test
|
||||
args: --workspace
|
||||
# Don't use --all-features as that will enable a whole bunch of
|
||||
# conflicting iced features
|
||||
run: cargo test --workspace --features "simd,standalone,zstd"
|
||||
|
|
Loading…
Reference in a new issue