mirror of
https://github.com/atuinsh/atuin.git
synced 2024-11-22 00:03:49 +01:00
Use --locked
flag for CI builds (#337)
This commit is contained in:
parent
8737474bf0
commit
a050faaf32
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
@ -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
|
||||
|
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') }}
|
||||
|
||||
- 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
|
||||
|
Loading…
Reference in New Issue
Block a user