We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4cf3cd7 commit 28422ccCopy full SHA for 28422cc
1 file changed
.github/workflows/format.yml
@@ -17,10 +17,11 @@ jobs:
17
with:
18
llvm-version: 22
19
20
- - name: Install Rust toolchain
21
- run: |
22
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.94.0
23
- echo "$HOME/.cargo/bin" >> $GITHUB_PATH
+ - name: Setup Rust
+ uses: dtolnay/rust-toolchain@master
+ with:
+ toolchain: 1.94.0
24
+ components: rustfmt
25
26
- name: Check C++ formatting
27
run: find cpp2rust tests -name '*.cpp' -o -name '*.h' -o -name '*.c' | xargs clang-format --dry-run --Werror
0 commit comments