Skip to content
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

Rust: Remove setup tasks that are not needed with larger runners. #5712

Merged
merged 1 commit into from
Nov 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading