CI: adjust matrix test to install rustfmt during autofmt tests

This commit is contained in:
Jonathan Kelley committed 2023-12-06 21:27:26 -08:00
1 parent 0aa4875ec0
commit 69bf6b9dd7
1 file changed
+5 -2
+5 -2
View File
@@ -124,8 +124,6 @@ jobs:
}
steps:
- uses: actions/checkout@v4
- name: install stable
uses: dtolnay/rust-toolchain@master
with:
@@ -141,6 +139,11 @@ jobs:
workspaces: core -> ../target
save-if: ${{ matrix.features.key == 'all' }}
- name: Install rustfmt
run: rustup component add rustfmt
- uses: actions/checkout@v4
- name: test
run: |
${{ env.RUST_CARGO_COMMAND }} ${{ matrix.platform.command }} ${{ matrix.platform.args }} --target ${{ matrix.platform.target }}