Skip to content

Commit

Permalink
use lockfile when installing cross
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Whitehead <cywolf@gmail.com>
  • Loading branch information
andrewwhitehead committed Dec 18, 2023
1 parent 162a1f3 commit 0d97507
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
- if: ${{ runner.os == 'Linux' }}
name: Pre-install cross
run: |
cargo install --bins --git https://github.com/rust-embedded/cross --tag v${{ env.CROSS_VERSION }} cross
cargo install --bins --git https://github.com/rust-embedded/cross --locked --tag v${{ env.CROSS_VERSION }} cross
test-suite:
name: Run Test Suite
Expand Down Expand Up @@ -148,7 +148,7 @@ jobs:
- if: ${{ matrix.use_cross }}
name: Build (cross)
run: |
cargo install --bins --git https://github.com/rust-embedded/cross --tag v${{ env.CROSS_VERSION }} cross
cargo install --bins --git https://github.com/rust-embedded/cross --locked --tag v${{ env.CROSS_VERSION }} cross
cross build --lib --release --target ${{ matrix.target }}
- if: ${{ !matrix.use_cross && matrix.architecture == 'darwin-universal' }}
Expand Down Expand Up @@ -379,7 +379,7 @@ jobs:

- name: Build
run: |
cargo install --bins --git https://github.com/rust-embedded/cross --tag v${{ env.CROSS_VERSION }} cross
cargo install --bins --git https://github.com/rust-embedded/cross --locked --tag v${{ env.CROSS_VERSION }} cross
cross build --lib --release --target ${{matrix.target}} --package indy-vdr
- name: Save library
Expand Down

0 comments on commit 0d97507

Please sign in to comment.