Skip to content

Commit 9b51b8f

Browse files
committed
chore(workflow): simplify PR command and Dockerfile for efficiency
1 parent f3493c2 commit 9b51b8f

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

Dockerfile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,6 @@ RUN apt-get update && apt-get install -y git fish wget \
3838
RUN rustup default nightly
3939
RUN rustup component add rust-std clippy rustc rustfmt --toolchain nightly
4040

41-
# Copy .git directory into /source
42-
COPY .git /source/.git
43-
44-
# Clone from local source into working directory
4541
WORKDIR /app
4642

4743
ARG GH_TOKEN

Justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ pr PR_NUMBER CMD:
3636

3737
# Sync a specific PR with origin/main
3838
sync-pr PR_NUM:
39-
just pr {{PR_NUM}} "git merge origin/main --no-edit && cargo fmt --check && cargo check && git push origin HEAD"
39+
just pr {{PR_NUM}} "git merge origin/main --no-edit && cargo fmt --check"

0 commit comments

Comments
 (0)