1
0
Fork 0

Replace uses of unmaintained actions-rs/cargo

This commit is contained in:
Robbert van der Helm 2023-01-25 17:35:31 +01:00
parent 8a62c54307
commit 636521090e
2 changed files with 9 additions and 20 deletions

View file

@ -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

View file

@ -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"