summaryrefslogtreecommitdiffstats
path: root/.github/workflows/workflow.yml
diff options
context:
space:
mode:
authorDario Vladović <d.vladimyr@gmail.com>2021-04-21 17:21:18 +0200
committerGitHub <noreply@github.com>2021-04-21 10:21:18 -0500
commitb673f91a4627f2b4d50fbb52be83b2047d8ce1f0 (patch)
treee7341798ffa4d0a43f23c6236d6a6a35cedbd332 /.github/workflows/workflow.yml
parent8bf69cbaa894adfc87925f40d26777c7e8152566 (diff)
fix(build): respect the lockfile (#2614)
Diffstat (limited to '.github/workflows/workflow.yml')
-rw-r--r--.github/workflows/workflow.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml
index e5fdba4e5..945ea1764 100644
--- a/.github/workflows/workflow.yml
+++ b/.github/workflows/workflow.yml
@@ -70,7 +70,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: clippy
- args: --all-targets --all-features -- -D clippy::all
+ args: --workspace --locked --all-targets --all-features -- -D clippy::all
# Ensure that the project could be successfully compiled
cargo_check:
@@ -98,7 +98,7 @@ jobs:
override: true
- name: Build | Check
- run: cargo check --all
+ run: cargo check --workspace --locked
# Run tests on Linux, macOS, and Windows
# On both Rust stable and Rust nightly
@@ -144,4 +144,4 @@ jobs:
# Run the ignored tests that expect the above setup
- name: Build | Test
- run: cargo test --all-features -- -Z unstable-options --include-ignored
+ run: cargo test --workspace --locked --all-features -- -Z unstable-options --include-ignored