Skip to content

Commit

Permalink
Use --locked flag for CI builds (#337)
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun authored Apr 23, 2022
1 parent 8737474 commit a050faa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a050faa

Please sign in to comment.