Skip to content

Commit

Permalink
Rust: Remove setup tasks that are not needed with larger runners. (aw…
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidSouther authored and meyertst-aws committed Jan 4, 2024
1 parent 42e5a3e commit f7e4275
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,7 @@ jobs:
runs-on: aws-doc-sdk-examples_ubuntu-latest_16-core
steps:
- name: setup
run: >
sudo apt-get update && sudo apt-get install -y libclang-dev &&
(
echo "Removing unwanted software... " ;
echo "Before:" ; df -h ;
sudo apt-get clean ;
sudo rm -rf /usr/share/dotnet ;
sudo rm -rf /usr/local/lib/android ;
sudo rm -rf /opt/ghc ;
sudo rm -rf /opt/hostedtoolcache/CodeQL ;
sudo docker image prune --all --force ;
echo "After:" ; df -h ;
)
run: sudo apt-get update && sudo apt-get install -y libclang-dev
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: "1.70.0"
Expand Down

0 comments on commit f7e4275

Please sign in to comment.