From 716278609614c0056ab32e749e74502134ca4188 Mon Sep 17 00:00:00 2001 From: Devin Bidwell Date: Fri, 5 Dec 2025 02:57:40 -0700 Subject: [PATCH] Add rust-toolchain.toml dependencies to the dockerfile cache --- .github/workflows/build.yml | 2 +- Dockerfile.build | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6bdd948..0bd61dc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -59,7 +59,7 @@ jobs: # Docker writes files as root. We need to own them to upload them. - name: Fix Permissions if: always() - run: sudo chown -R $USER:$USER release/ + run: chown -R $USER:$USER release/ # 4. Upload to GitHub - name: Upload Release Artifacts diff --git a/Dockerfile.build b/Dockerfile.build index cbb06c5..7f017fc 100644 --- a/Dockerfile.build +++ b/Dockerfile.build @@ -11,7 +11,9 @@ RUN wget --progress=dot:giga https://dot.net/v1/dotnet-install.sh -O dotnet-inst && ./dotnet-install.sh --channel 8.0 --install-dir /usr/share/dotnet \ && ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet -RUN rustup target add x86_64-pc-windows-gnu && rustup target add x86_64-unknown-linux-gnu +RUN rustup target add x86_64-pc-windows-gnu \ + && rustup target add x86_64-unknown-linux-gnu \ + && rustup component add rustfmt clippy WORKDIR /app