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.
1 parent 8498fd8 commit c9d2cacCopy full SHA for c9d2cac
.github/workflows/ci.yaml
@@ -1,11 +1,11 @@
1
# This is copied from https://github.com/rust-analyzer/rust-analyzer/blob/master/.github/workflows/ci.yaml
2
+# But I added rustfmt too.
3
name: CI
4
on:
5
pull_request:
6
push:
7
branches:
8
- main
- - ci-test
9
10
env:
11
CARGO_INCREMENTAL: 0
@@ -39,11 +39,14 @@ jobs:
39
override: true
40
components: rustfmt, rust-src
41
42
+ - name: rustfmt
43
+ run: cargo fmt --all -- --check
44
+
45
- name: Cache Dependencies
46
uses: Swatinem/rust-cache@ce325b60658c1b38465c06cc965b79baf32c1e72
47
48
- name: Compile
- run: cargo test --no-run --locked
49
+ run: cargo test --no-run
50
51
- name: Test
52
run: cargo test -- --nocapture --quiet
0 commit comments