This is an automated email from the ASF dual-hosted git repository.

viirya pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git


The following commit(s) were added to refs/heads/master by this push:
     new 7560fbd55 Do not pretend to cache rust build artifacts (#2150)
7560fbd55 is described below

commit 7560fbd550fc08c53f8db8439b9b9ea606dc81f8
Author: Andrew Lamb <[email protected]>
AuthorDate: Sat Jul 23 18:03:01 2022 -0400

    Do not pretend to cache rust build artifacts (#2150)
---
 .github/workflows/dev.yml  |  2 +-
 .github/workflows/rust.yml | 39 ---------------------------------------
 2 files changed, 1 insertion(+), 40 deletions(-)

diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml
index 51569c002..e7b62e16f 100644
--- a/.github/workflows/dev.yml
+++ b/.github/workflows/dev.yml
@@ -41,7 +41,7 @@ jobs:
         run: ./dev/release/run-rat.sh .
 
   prettier:
-    name: Use prettier to check formatting of documents
+    name: Use prettier to check formatting of markdown documents
     runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@v2
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index 575fb00bb..b5223d59c 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -24,34 +24,9 @@ on:
 
 jobs:
 
-  # build the library, a compilation step used by multiple steps below
-  linux-build-lib:
-    name: Build Libraries on AMD64 Rust ${{ matrix.rust }}
-    runs-on: ubuntu-latest
-    strategy:
-      matrix:
-        arch: [ amd64 ]
-        rust: [ stable ]
-    container:
-      image: ${{ matrix.arch }}/rust
-      env:
-        # Disable full debug symbol generation to speed up CI build and keep 
memory down
-        # "1" means line tables only, which is useful for panic tracebacks.
-        RUSTFLAGS: "-C debuginfo=1"
-    steps:
-      - uses: actions/checkout@v2
-      - name: Setup Rust toolchain
-        uses: ./.github/actions/setup-builder
-        with:
-          rust-version: ${{ matrix.rust }}
-      - name: Build Workspace
-        run: |
-          cargo build
-
   # test the crate
   linux-test:
     name: Test Workspace on AMD64 Rust ${{ matrix.rust }}
-    needs: [ linux-build-lib ]
     runs-on: ubuntu-latest
     strategy:
       matrix:
@@ -159,8 +134,6 @@ jobs:
       - uses: actions/checkout@v2
         with:
           submodules: true
-      # TODO: this won't cache anything, which is expensive. Setup this action
-      # with a OS-dependent path.
       - name: Setup Rust toolchain
         run: |
           rustup toolchain install ${{ matrix.rust }} --no-self-update
@@ -176,7 +149,6 @@ jobs:
 
   clippy:
     name: Clippy
-    needs: [ linux-build-lib ]
     runs-on: ubuntu-latest
     strategy:
       matrix:
@@ -264,12 +236,6 @@ jobs:
           path: /home/runner/.cargo
           # this key is not equal because the user is different than on a 
container (runner vs github)
           key: cargo-coverage-cache3-
-      - name: Cache Rust dependencies
-        uses: actions/cache@v3
-        with:
-          path: /home/runner/target
-          # this key is not equal because coverage uses different compilation 
flags.
-          key: ${{ runner.os }}-${{ matrix.arch }}-target-coverage-cache3-${{ 
matrix.rust }}-
       - name: Run coverage
         run: |
           export CARGO_HOME="/home/runner/.cargo"
@@ -311,11 +277,6 @@ jobs:
         with:
           path: /github/home/.cargo
           key: cargo-wasm32-cache3-
-      - name: Cache Rust dependencies
-        uses: actions/cache@v3
-        with:
-          path: /github/home/target
-          key: ${{ runner.os }}-${{ matrix.arch }}-target-wasm32-cache3-${{ 
matrix.rust }}
       - name: Setup Rust toolchain for WASM
         run: |
           rustup toolchain install ${{ matrix.rust }}

Reply via email to