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