Skip to content

Commit

Permalink
Don't install unused components
Browse files Browse the repository at this point in the history
  • Loading branch information
tustvold committed Jun 9, 2022
1 parent 7c2066f commit 68d1441
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/actions/setup-builder/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ runs:
/usr/local/cargo/registry/cache/
/usr/local/cargo/git/db/
key: cargo-cache3-${{ hashFiles('**/Cargo.toml') }}
restore-keys: cargo-cache3-
- name: Generate lockfile
shell: bash
run: cargo fetch
Expand All @@ -48,6 +49,7 @@ runs:
# and thus are specific for a particular OS, arch and rust version.
path: /github/home/target
key: ${{ runner.os }}-${{ runner.arch }}-target-cache3-${{ inputs.rust-version }}-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-${{ runner.arch }}-target-cache3-${{ inputs.rust-version }}-
- name: Install Build Dependencies
shell: bash
run: |
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@ jobs:
run: |
rustup toolchain install ${{ matrix.rust }}
rustup default ${{ matrix.rust }}
rustup component add rustfmt
- name: Run tests
shell: bash
run: |
Expand Down Expand Up @@ -198,7 +197,7 @@ jobs:
rust-version: ${{ matrix.rust }}
- name: Setup Clippy
run: |
rustup component add rustfmt clippy
rustup component add clippy
- name: Run clippy
run: |
cargo clippy --features test_common --features prettyprint --features=async --all-targets --workspace -- -D warnings
Expand Down Expand Up @@ -258,7 +257,6 @@ jobs:
run: |
rustup toolchain install ${{ matrix.rust }}
rustup default ${{ matrix.rust }}
rustup component add rustfmt clippy
- name: Cache Cargo
uses: actions/cache@v3
with:
Expand Down Expand Up @@ -321,7 +319,6 @@ jobs:
run: |
rustup toolchain install ${{ matrix.rust }}
rustup override set ${{ matrix.rust }}
rustup component add rustfmt
rustup target add wasm32-unknown-unknown
rustup target add wasm32-wasi
- name: Build arrow crate
Expand Down

0 comments on commit 68d1441

Please sign in to comment.