pinning cargo dep versions for CLI (#1775)

* pinning cargo dep versions for CLI

* add --locked to the workflow

Co-authored-by: Stephen Chavez <stephen@start9labs.com>
This commit is contained in:
Stephen Chavez
2022-09-07 15:25:14 +00:00
committed by GitHub
parent 50111e37da
commit f0466aaa56
6 changed files with 8 additions and 8 deletions

View File

@@ -115,7 +115,7 @@ jobs:
run: ./check-environment.sh
- name: Build backend
run: cargo build --release --target x86_64-unknown-linux-gnu
run: cargo build --release --target x86_64-unknown-linux-gnu --locked
working-directory: backend
if: ${{ matrix.target == 'x86_64' }}
@@ -129,7 +129,7 @@ jobs:
rustup install ${{ env.RUST_VERSION }} &&
rustup override set ${{ env.RUST_VERSION }} &&
rustup target add aarch64-unknown-linux-gnu &&
cargo build --release --target ${{ matrix.target }}-unknown-linux-gnu'
cargo build --release --target ${{ matrix.target }}-unknown-linux-gnu --locked'
if: ${{ matrix.target == 'aarch64' }}
- name: 'Tar files to preserve file permissions'