添加github workflow,检查代码是否已经格式化 #6
rustfmt.yml
on: pull_request
ensure-toolchain
/
build
8m 30s
Rustfmt
19s
Annotations
2 errors and 1 warning
Rustfmt
'cargo-fmt' is not installed for the toolchain 'nightly-2023-01-21-x86_64-unknown-linux-gnu'
|
Rustfmt
The process '/home/runner/.cargo/bin/cargo' failed with exit code 1
|
Rustfmt
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|