summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorClement Tsang <34804052+ClementTsang@users.noreply.github.com>2022-04-10 01:11:10 -0400
committerGitHub <noreply@github.com>2022-04-10 01:11:10 -0400
commit194a769b1d5e2b87e4b0e30d9261e66b0fd7e110 (patch)
tree292db4ac02fc7d2c1bb19da1817228816591b559 /.github
parent44e6923a5d12ee2349db43f1c9e054f88a948ed2 (diff)
ci: use locked builds in deploy and nightly (#700)
Adds --locked to the build process for nightly and deploy workflows.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/deployment.yml4
-rw-r--r--.github/workflows/nightly.yml4
2 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml
index 165f6ff6..e5fceca8 100644
--- a/.github/workflows/deployment.yml
+++ b/.github/workflows/deployment.yml
@@ -145,7 +145,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
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 }}
- name: Build autocompletion and manpage
@@ -313,7 +313,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: build
- args: --release --verbose --features "battery"
+ args: --release --locked --verbose --features "battery"
- name: Build autocompletion and manpage
shell: bash
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
index adeb792d..69c75235 100644
--- a/.github/workflows/nightly.yml
+++ b/.github/workflows/nightly.yml
@@ -141,7 +141,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
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 }}
- name: Build autocompletion and manpage
@@ -307,7 +307,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: build
- args: --release --verbose --features "battery"
+ args: --release --locked --verbose --features "battery"
- name: Build autocompletion and manpage
shell: bash