Skip to content

Commit

Permalink
chore(buck2): use cargo nightly in cargobump
Browse files Browse the repository at this point in the history
Signed-off-by: Massimiliano Giovagnoli <[email protected]>
  • Loading branch information
maxgio92 committed Dec 6, 2024
1 parent f8cf839 commit 1e7aa48
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions buck2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ environment:
- busybox
- ca-certificates-bundle
- cargo-auditable
- cargobump
- openssf-compiler-options
- rustup
- wolfi-base
Expand All @@ -44,8 +45,6 @@ pipeline:
with:
patches: GHSA-hc92-9h3m-c39j.patch

- uses: rust/cargobump

- name: Configure and build
runs: |
# This build requires a specific version of rust nightly.
Expand All @@ -54,6 +53,11 @@ pipeline:
# This is a bit of a hack, but it's the easiest way to get the right version of rustc and cargo in the path.
export PATH="$HOME/.rustup/toolchains/${{vars.rust-version}}-${{host.triplet.rust}}/bin:$PATH"
# Bump.
cargo generate-lockfile
cargobump --bump-file cargobump-deps.yaml
mkdir -p ${{targets.destdir}}/usr/bin/
cd app/buck2
Expand Down

0 comments on commit 1e7aa48

Please sign in to comment.