Skip to content

Commit efa62b2

Browse files
committed
add rustup install since it is not in this image
1 parent ed7d73d commit efa62b2

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,10 @@ jobs:
8282
uses: namespacelabs/nscloud-cache-action@v1
8383
with:
8484
path: ${{ env.CACHED_PATHS }}
85-
85+
86+
- name: install rustup
87+
run: ./install-rust.sh
88+
8689
- name: install rustup components
8790
run: rustup component add rustfmt
8891

install-rust.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
# is version-controlled and run in CI to make the dependency explicit (and to
88
# use a version newer than the debian packages).
99

10+
rustup --version >/dev/null 2>&1 && exit 0
11+
1012
# Fail on any error
1113
set -e
1214

0 commit comments

Comments
 (0)