Skip to content
This repository was archived by the owner on Oct 18, 2024. It is now read-only.

Commit 4045f21

Browse files
committed
chore(workflow): add step to setup Rust
1 parent 1a45fd2 commit 4045f21

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/build.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ jobs:
6565
run: chmod +x ./gradlew
6666
- name: Install dependencies
6767
run: $ATS_SUDO $ATS_APT_UPDATE && $ATS_SUDO $ATS_APT_UPGRADE && $ATS_SUDO $ATS_APT_INSTALL $ATS_APT_DEPS
68+
- name: Install Rust
69+
run: |
70+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -o rustup-init.sh
71+
sh rustup-init.sh -y
6872
- name: Restore cache
6973
uses: actions/cache@v4
7074
with:
@@ -112,6 +116,10 @@ jobs:
112116
run: chmod +x ./gradlew
113117
- name: Install dependencies
114118
run: $ATS_SUDO $ATS_APT_UPDATE && $ATS_SUDO $ATS_APT_UPGRADE && $ATS_SUDO $ATS_APT_INSTALL $ATS_APT_DEPS
119+
- name: Install Rust
120+
run: |
121+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -o rustup-init.sh
122+
sh rustup-init.sh -y
115123
- name: Restore cache
116124
uses: actions/cache@v4
117125
with:
@@ -157,6 +165,10 @@ jobs:
157165
run: chmod +x ./gradlew
158166
- name: Install dependencies
159167
run: $ATS_SUDO $ATS_APT_UPDATE && $ATS_SUDO $ATS_APT_UPGRADE && $ATS_SUDO $ATS_APT_INSTALL $ATS_APT_DEPS
168+
- name: Install Rust
169+
run: |
170+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -o rustup-init.sh
171+
sh rustup-init.sh -y
160172
- name: Restore cache
161173
uses: actions/cache@v4
162174
with:
@@ -212,6 +224,10 @@ jobs:
212224
run: chmod +x ./gradlew
213225
- name: Install dependencies
214226
run: $ATS_SUDO $ATS_APT_UPDATE && $ATS_SUDO $ATS_APT_UPGRADE && $ATS_SUDO $ATS_APT_INSTALL $ATS_APT_DEPS
227+
- name: Install Rust
228+
run: |
229+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -o rustup-init.sh
230+
sh rustup-init.sh -y
215231
- name: Restore cache
216232
uses: actions/cache@v4
217233
with:

0 commit comments

Comments
 (0)