Skip to content

Commit

Permalink
chore(ci): switch to a custom fork of actions-rs/cargo
Browse files Browse the repository at this point in the history
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
  • Loading branch information
yvt committed Nov 12, 2022
1 parent ca9a16b commit d2e4fec
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,14 +160,16 @@ jobs:
sed -E -i.bak 's/.*smp_rp_pico.*//' Cargo.toml
- name: Test
uses: actions-rs/cargo@v1
# FIXME: Switch back when actions-rs/cargo#217 gets merged
uses: r3-os/actions-rust-cargo@fb222fe18dc90e381546d012f9e3d6f353f0f627
with:
command: test
args: --workspace -- ${{ env.testflags }}
env:
RUST_LOG: debug
- name: Test (-p r3_port_std --benches)
uses: actions-rs/cargo@v1
# FIXME: Switch back when actions-rs/cargo#217 gets merged
uses: r3-os/actions-rust-cargo@fb222fe18dc90e381546d012f9e3d6f353f0f627
with:
command: test
args: -p r3_port_std --benches -- ${{ env.testflags }}
Expand Down Expand Up @@ -216,7 +218,8 @@ jobs:
echo "features_param=$features" >> $GITHUB_ENV
- name: Test
uses: actions-rs/cargo@v1
# FIXME: Switch back when actions-rs/cargo#217 gets merged
uses: r3-os/actions-rust-cargo@fb222fe18dc90e381546d012f9e3d6f353f0f627
with:
command: test
args: -p r3_port_std --no-default-features ${{ env.features_param }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ jobs:
echo "RUSTDOCFLAGS=--html-in-header `pwd`/src/r3/src/common.md" >> $GITHUB_ENV
- name: Build API documentation
uses: actions-rs/cargo@v1
# FIXME: Switch back when actions-rs/cargo#217 gets merged
uses: r3-os/actions-rust-cargo@fb222fe18dc90e381546d012f9e3d6f353f0f627
with:
command: doc
# Documentate all published packages with all features enabled [tag:doc_all_features]
Expand Down

0 comments on commit d2e4fec

Please sign in to comment.