Use --locked
flag for CI builds (#337)
This commit is contained in:
parent
8737474bf0
commit
a050faaf32
2 changed files with 5 additions and 5 deletions
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
|
@ -66,7 +66,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
use-cross: ${{ matrix.job.use-cross }}
|
use-cross: ${{ matrix.job.use-cross }}
|
||||||
command: build
|
command: build
|
||||||
args: --release --target=${{ matrix.job.target }}
|
args: --locked --release --target=${{ matrix.job.target }}
|
||||||
|
|
||||||
- name: Strip debug information from executable
|
- name: Strip debug information from executable
|
||||||
id: strip
|
id: strip
|
||||||
|
|
8
.github/workflows/rust.yml
vendored
8
.github/workflows/rust.yml
vendored
|
@ -31,16 +31,16 @@ jobs:
|
||||||
key: ${{ runner.os }}-cargo-release-${{ hashFiles('**/Cargo.lock') }}
|
key: ${{ runner.os }}-cargo-release-${{ hashFiles('**/Cargo.lock') }}
|
||||||
|
|
||||||
- name: Run cargo build common
|
- 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
|
- 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
|
- 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
|
- 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:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Reference in a new issue