From 2391d117584495b16e8fca60ccc48f6ffcd7ed23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20H=C3=A4ggblad?= Date: Thu, 10 Mar 2022 10:19:31 +0100 Subject: [PATCH] ci: replace deprecated --all with --workspace According to the docs `--all` is a deprecated alias for `--workspace` --- .github/workflows/build.yml | 8 ++++---- .github/workflows/contracts.yml | 4 ++-- .github/workflows/nightly_build.yml | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0def2407eb..3242d73ecc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,13 +33,13 @@ jobs: uses: actions-rs/cargo@v1 with: command: build - args: --all + args: --workspace - name: Run all tests uses: actions-rs/cargo@v1 with: command: test - args: --all --all-features + args: --workspace --all-features - name: Check formatting uses: actions-rs/cargo@v1 @@ -63,13 +63,13 @@ jobs: uses: actions-rs/cargo@v1 with: command: build - args: --all --features=coconut + args: --workspace --features=coconut - name: Run all tests with coconut enabled uses: actions-rs/cargo@v1 with: command: test - args: --all --features=coconut + args: --workspace --features=coconut - name: Run clippy with coconut enabled uses: actions-rs/cargo@v1 diff --git a/.github/workflows/contracts.yml b/.github/workflows/contracts.yml index 357d5674e5..2c1eaf40b2 100644 --- a/.github/workflows/contracts.yml +++ b/.github/workflows/contracts.yml @@ -45,7 +45,7 @@ jobs: RUSTFLAGS: '-C link-arg=-s' with: command: build - args: --manifest-path contracts/Cargo.toml --all --target wasm32-unknown-unknown + args: --manifest-path contracts/Cargo.toml --workspace --target wasm32-unknown-unknown - uses: actions-rs/cargo@v1 with: @@ -61,4 +61,4 @@ jobs: if: ${{ matrix.rust != 'nightly' }} with: command: clippy - args: --manifest-path contracts/Cargo.toml --all -- -D warnings \ No newline at end of file + args: --manifest-path contracts/Cargo.toml --workspace -- -D warnings diff --git a/.github/workflows/nightly_build.yml b/.github/workflows/nightly_build.yml index 82e2ea679e..1ad8db852e 100644 --- a/.github/workflows/nightly_build.yml +++ b/.github/workflows/nightly_build.yml @@ -42,13 +42,13 @@ jobs: uses: actions-rs/cargo@v1 with: command: build - args: --all + args: --workspace - name: Run all tests uses: actions-rs/cargo@v1 with: command: test - args: --all + args: --workspace - name: Check formatting uses: actions-rs/cargo@v1 @@ -81,13 +81,13 @@ jobs: uses: actions-rs/cargo@v1 with: command: build - args: --all --features=coconut + args: --workspace --features=coconut - name: Run all tests with coconut enabled uses: actions-rs/cargo@v1 with: command: test - args: --all --features=coconut + args: --workspace --features=coconut - name: Run clippy with coconut enabled uses: actions-rs/cargo@v1