Skip to content

github: fix empty continuation line; remove trailing whitespace #129535

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

gburgessiv
Copy link
Member

  • Trailing whitespace shows up as red on my editor, so remove.
  • Docker on my machine warns that having line continuations like:
  sudo \

  foo

is deprecated, and will become an error, so fix that up ahead of time.

- Trailing whitespace shows up as red on my editor, so remove.
- Docker on my machine warns that having lines like:

```
  sudo \

  foo
```

is deprecated, and will become an error, so fix that up ahead of time.
@llvmbot
Copy link
Member

llvmbot commented Mar 3, 2025

@llvm/pr-subscribers-github-workflow

Author: George Burgess IV (gburgessiv)

Changes
  • Trailing whitespace shows up as red on my editor, so remove.
  • Docker on my machine warns that having line continuations like:
  sudo \

  foo

is deprecated, and will become an error, so fix that up ahead of time.


Full diff: https://github.com/llvm/llvm-project/pull/129535.diff

1 Files Affected:

  • (modified) .github/workflows/containers/github-action-ci/Dockerfile (+2-3)
diff --git a/.github/workflows/containers/github-action-ci/Dockerfile b/.github/workflows/containers/github-action-ci/Dockerfile
index 377b8f14402ee..bd3720017b7f7 100644
--- a/.github/workflows/containers/github-action-ci/Dockerfile
+++ b/.github/workflows/containers/github-action-ci/Dockerfile
@@ -40,7 +40,7 @@ RUN cmake -B ./build -G Ninja ./llvm \
 RUN ninja -C ./build stage2-clang-bolt stage2-install-distribution && ninja -C ./build install-distribution
 
 FROM base as ci-container
-    
+
 COPY --from=stage1-toolchain $LLVM_SYSROOT $LLVM_SYSROOT
 
 # Need to install curl for hendrikmuhs/ccache-action
@@ -49,7 +49,7 @@ COPY --from=stage1-toolchain $LLVM_SYSROOT $LLVM_SYSROOT
 # Need git for SPIRV-Tools tests.
 RUN apt-get update && \
     DEBIAN_FRONTEND=noninteractive apt-get install -y \
-    binutils \ 
+    binutils \
     cmake \
     curl \
     git \
@@ -59,7 +59,6 @@ RUN apt-get update && \
     perl-modules \
     python3-psutil \
     sudo \
-
     # These are needed by the premerge pipeline. Pip is used to install
     # dependent python packages and ccache is used for build caching. File and
     # tzdata are used for tests.

@gburgessiv
Copy link
Member Author

Thank you both!

@gburgessiv gburgessiv merged commit 3ce92e1 into llvm:main Mar 3, 2025
14 checks passed
@gburgessiv gburgessiv deleted the github-fix-empty-continuation-line-remove-trailing-whitespace branch March 3, 2025 16:47
jph-13 pushed a commit to jph-13/llvm-project that referenced this pull request Mar 21, 2025
…#129535)

- Trailing whitespace shows up as red on my editor, so remove.
- Docker on my machine warns that having line continuations like:

```
  sudo \

  foo
```

is deprecated, and will become an error, so fix that up ahead of time.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants