mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
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:
4
.github/workflows/backend.yaml
vendored
4
.github/workflows/backend.yaml
vendored
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user