Skip to content

Commit d2e4fec

Browse files
committed
chore(ci): switch to a custom fork of actions-rs/cargo
This fork includes [actions-rs/cargo#217][1], the PR that would upgrade the Node.js version used by it and resolve the "Node.js 12 actions are deprecated" warnings. [1]: actions-rs/cargo#217
1 parent ca9a16b commit d2e4fec

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,14 +160,16 @@ jobs:
160160
sed -E -i.bak 's/.*smp_rp_pico.*//' Cargo.toml
161161
162162
- name: Test
163-
uses: actions-rs/cargo@v1
163+
# FIXME: Switch back when actions-rs/cargo#217 gets merged
164+
uses: r3-os/actions-rust-cargo@fb222fe18dc90e381546d012f9e3d6f353f0f627
164165
with:
165166
command: test
166167
args: --workspace -- ${{ env.testflags }}
167168
env:
168169
RUST_LOG: debug
169170
- name: Test (-p r3_port_std --benches)
170-
uses: actions-rs/cargo@v1
171+
# FIXME: Switch back when actions-rs/cargo#217 gets merged
172+
uses: r3-os/actions-rust-cargo@fb222fe18dc90e381546d012f9e3d6f353f0f627
171173
with:
172174
command: test
173175
args: -p r3_port_std --benches -- ${{ env.testflags }}
@@ -216,7 +218,8 @@ jobs:
216218
echo "features_param=$features" >> $GITHUB_ENV
217219
218220
- name: Test
219-
uses: actions-rs/cargo@v1
221+
# FIXME: Switch back when actions-rs/cargo#217 gets merged
222+
uses: r3-os/actions-rust-cargo@fb222fe18dc90e381546d012f9e3d6f353f0f627
220223
with:
221224
command: test
222225
args: -p r3_port_std --no-default-features ${{ env.features_param }}

.github/workflows/doc.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ jobs:
2727
echo "RUSTDOCFLAGS=--html-in-header `pwd`/src/r3/src/common.md" >> $GITHUB_ENV
2828
2929
- name: Build API documentation
30-
uses: actions-rs/cargo@v1
30+
# FIXME: Switch back when actions-rs/cargo#217 gets merged
31+
uses: r3-os/actions-rust-cargo@fb222fe18dc90e381546d012f9e3d6f353f0f627
3132
with:
3233
command: doc
3334
# Documentate all published packages with all features enabled [tag:doc_all_features]

0 commit comments

Comments
 (0)