We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 764d33d + 4787278 commit b405c07Copy full SHA for b405c07
.github/workflows/ci.yml
@@ -32,3 +32,18 @@ jobs:
32
run: |
33
cargo run -- bisect-rustc --help | grep "Examples:"
34
cargo run -- --help | grep "Commands:"
35
+
36
+ fmt:
37
+ name: rustfmt
38
+ runs-on: ubuntu-latest
39
+ steps:
40
+ - name: Checkout source
41
+ uses: actions/checkout@v3
42
+ - name: Install Rust
43
+ uses: dtolnay/rust-toolchain@stable
44
+ with:
45
+ components: rustfmt
46
+ - name: Run rustfmt check
47
+ run: |
48
+ cargo fmt --version
49
+ cargo fmt --check || (echo "Please reformat your code with 'cargo fmt' (version $(cargo fmt --version))"; false)
.github/workflows/fmt.yml
0 commit comments