aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/release.yaml2
-rw-r--r--.github/workflows/rust.yml8
2 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index 7298ce2e..551517b1 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -66,7 +66,7 @@ jobs:
with:
use-cross: ${{ matrix.job.use-cross }}
command: build
- args: --release --target=${{ matrix.job.target }}
+ args: --locked --release --target=${{ matrix.job.target }}
- name: Strip debug information from executable
id: strip
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index 3c39fa2d..4a019f3c 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -31,16 +31,16 @@ jobs:
key: ${{ runner.os }}-cargo-release-${{ hashFiles('**/Cargo.lock') }}
- name: Run cargo build common
- run: cargo build -p atuin-common --release
+ run: cargo build -p atuin-common --locked --release
- name: Run cargo build client
- run: cargo build -p atuin-client --release
+ run: cargo build -p atuin-client --locked --release
- name: Run cargo build server
- run: cargo build -p atuin-server --release
+ run: cargo build -p atuin-server --locked --release
- name: Run cargo build main
- run: cargo build --all --release && strip target/release/atuin
+ run: cargo build --all --locked --release && strip target/release/atuin
test:
runs-on: ubuntu-latest