Skip to content

Commit c920c05

Browse files
committed
attempt to improve caching
1 parent 1b3134f commit c920c05

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,10 @@ ENV PATH="/home/runner/.cargo/bin:${PATH}"
3232

3333
# Install cargo-binstall via prebuilt binary (cargo install fails on Focal's GCC 9)
3434
RUN curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash \
35-
&& cargo binstall cargo-nextest --no-confirm --no-symlinks \
36-
&& cargo binstall cargo-deny --no-confirm --no-symlinks \
37-
&& cargo binstall just --no-confirm --no-symlinks \
35+
# These are not (yet) installable with binstall, keeping in extra layer for caching
3836
&& cargo binstall sqlx-cli --no-confirm --no-symlinks \
3937
&& cargo binstall taplo-cli --no-confirm --no-symlinks
38+
39+
RUN cargo binstall cargo-nextest --no-confirm --no-symlinks \
40+
&& cargo binstall cargo-deny --no-confirm --no-symlinks \
41+
&& cargo binstall just --no-confirm --no-symlinks

0 commit comments

Comments
 (0)