mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-11-10 15:20:55 +00:00
fix(build): respect the lockfile (#2614)
This commit is contained in:
parent
8bf69cbaa8
commit
b673f91a46
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
@ -128,7 +128,7 @@ jobs:
|
|||||||
SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk
|
SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk
|
||||||
with:
|
with:
|
||||||
command: build
|
command: build
|
||||||
args: --release --features tls-vendored --target ${{ matrix.target }}
|
args: --release --locked --features tls-vendored --target ${{ matrix.target }}
|
||||||
use-cross: ${{ matrix.os == 'ubuntu-latest' }}
|
use-cross: ${{ matrix.os == 'ubuntu-latest' }}
|
||||||
|
|
||||||
- name: Post Build | Prepare artifacts [Windows]
|
- name: Post Build | Prepare artifacts [Windows]
|
||||||
|
6
.github/workflows/workflow.yml
vendored
6
.github/workflows/workflow.yml
vendored
@ -70,7 +70,7 @@ jobs:
|
|||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: clippy
|
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
|
# Ensure that the project could be successfully compiled
|
||||||
cargo_check:
|
cargo_check:
|
||||||
@ -98,7 +98,7 @@ jobs:
|
|||||||
override: true
|
override: true
|
||||||
|
|
||||||
- name: Build | Check
|
- name: Build | Check
|
||||||
run: cargo check --all
|
run: cargo check --workspace --locked
|
||||||
|
|
||||||
# Run tests on Linux, macOS, and Windows
|
# Run tests on Linux, macOS, and Windows
|
||||||
# On both Rust stable and Rust nightly
|
# On both Rust stable and Rust nightly
|
||||||
@ -144,4 +144,4 @@ jobs:
|
|||||||
|
|
||||||
# Run the ignored tests that expect the above setup
|
# Run the ignored tests that expect the above setup
|
||||||
- name: Build | Test
|
- 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
|
||||||
|
Loading…
Reference in New Issue
Block a user