mirror of
https://github.com/ClementTsang/bottom
synced 2024-11-26 14:10:19 +00:00
ci: use locked builds in deploy and nightly (#700)
Adds --locked to the build process for nightly and deploy workflows.
This commit is contained in:
parent
44e6923a5d
commit
194a769b1d
3 changed files with 7 additions and 7 deletions
4
.github/workflows/deployment.yml
vendored
4
.github/workflows/deployment.yml
vendored
|
@ -145,7 +145,7 @@ jobs:
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: build
|
command: build
|
||||||
args: --release --verbose --target=${{ matrix.triple.target }} --features "battery"
|
args: --release --verbose --locked --target=${{ matrix.triple.target }} --features "battery"
|
||||||
use-cross: ${{ matrix.triple.cross }}
|
use-cross: ${{ matrix.triple.cross }}
|
||||||
|
|
||||||
- name: Build autocompletion and manpage
|
- name: Build autocompletion and manpage
|
||||||
|
@ -313,7 +313,7 @@ jobs:
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: build
|
command: build
|
||||||
args: --release --verbose --features "battery"
|
args: --release --locked --verbose --features "battery"
|
||||||
|
|
||||||
- name: Build autocompletion and manpage
|
- name: Build autocompletion and manpage
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
4
.github/workflows/nightly.yml
vendored
4
.github/workflows/nightly.yml
vendored
|
@ -141,7 +141,7 @@ jobs:
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: build
|
command: build
|
||||||
args: --release --verbose --target=${{ matrix.triple.target }} --features "battery"
|
args: --release --locked --verbose --target=${{ matrix.triple.target }} --features "battery"
|
||||||
use-cross: ${{ matrix.triple.cross }}
|
use-cross: ${{ matrix.triple.cross }}
|
||||||
|
|
||||||
- name: Build autocompletion and manpage
|
- name: Build autocompletion and manpage
|
||||||
|
@ -307,7 +307,7 @@ jobs:
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: build
|
command: build
|
||||||
args: --release --verbose --features "battery"
|
args: --release --locked --verbose --features "battery"
|
||||||
|
|
||||||
- name: Build autocompletion and manpage
|
- name: Build autocompletion and manpage
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
|
@ -84,10 +84,10 @@ Installation via cargo is done by installing the `bottom` crate:
|
||||||
# If required, update Rust on the stable channel
|
# If required, update Rust on the stable channel
|
||||||
rustup update stable
|
rustup update stable
|
||||||
|
|
||||||
cargo install bottom
|
|
||||||
|
|
||||||
# Alternatively, --locked may be required due to how cargo install works
|
|
||||||
cargo install bottom --locked
|
cargo install bottom --locked
|
||||||
|
|
||||||
|
# Alternatively, --locked may be omitted if you wish to not used locked dependencies:
|
||||||
|
cargo install bottom
|
||||||
```
|
```
|
||||||
|
|
||||||
### Arch Linux
|
### Arch Linux
|
||||||
|
|
Loading…
Reference in a new issue