about summary refs log tree commit diff
path: root/library/compiler-builtins/.github/workflows
diff options
context:
space:
mode:
authorTrevor Gross <tmgross@umich.edu>2025-04-20 08:42:12 +0000
committerTrevor Gross <t.gross35@gmail.com>2025-04-20 05:33:19 -0400
commit46bbc3dd88d998c910920c939a032d8f44cc16e9 (patch)
treeaf36bb7501039eb108f25357b33a74d74baa0951 /library/compiler-builtins/.github/workflows
parent13bf5f5bb4115cebe30c8b18935ad017c7fa3de1 (diff)
downloadrust-46bbc3dd88d998c910920c939a032d8f44cc16e9.tar.gz
rust-46bbc3dd88d998c910920c939a032d8f44cc16e9.zip
ci: Clean up workflow file and docker script
Diffstat (limited to 'library/compiler-builtins/.github/workflows')
-rw-r--r--library/compiler-builtins/.github/workflows/main.yaml11
1 files changed, 5 insertions, 6 deletions
diff --git a/library/compiler-builtins/.github/workflows/main.yaml b/library/compiler-builtins/.github/workflows/main.yaml
index 2b57d7eb3aa..f7522a53d9d 100644
--- a/library/compiler-builtins/.github/workflows/main.yaml
+++ b/library/compiler-builtins/.github/workflows/main.yaml
@@ -131,6 +131,9 @@ jobs:
         path: /tmp/.buildx-cache
         key: ${{ matrix.target }}-buildx-${{ github.sha }}
         restore-keys: ${{ matrix.target }}-buildx-
+    # Configure buildx to use Docker layer caching
+    - uses: docker/setup-buildx-action@v3
+      if: matrix.os == 'ubuntu-24.04'
 
     - name: Cache compiler-rt
       id: cache-compiler-rt
@@ -155,14 +158,10 @@ jobs:
       shell: bash
       run: ./ci/run.sh ${{ matrix.target }}
 
-    # Configure buildx to use Docker layer caching
-    - uses: docker/setup-buildx-action@v3
-      if: matrix.os == 'ubuntu-24.04'
-
     # Otherwise we use our docker containers to run builds
     - name: Run in Docker
       if: matrix.os == 'ubuntu-24.04'
-      run: cargo generate-lockfile && ./ci/run-docker.sh ${{ matrix.target }}
+      run: ./ci/run-docker.sh ${{ matrix.target }}
 
     - name: Print test logs if available
       if: always()
@@ -193,7 +192,7 @@ jobs:
         rustup default nightly
         rustup component add clippy
     - uses: Swatinem/rust-cache@v2
-    - run: cargo clippy -- -D clippy::all
+    - run: cargo clippy --workspace --all-targets
 
   benchmarks:
     name: Benchmarks