File tree Expand file tree Collapse file tree 1 file changed +17
-5
lines changed Expand file tree Collapse file tree 1 file changed +17
-5
lines changed Original file line number Diff line number Diff line change 24
24
RUST_BACKTRACE : 1
25
25
26
26
jobs :
27
+ check-fmt :
28
+ name : Check formatting
29
+ runs-on : ubuntu-latest
30
+ steps :
31
+ - uses : actions/checkout@v4
32
+
33
+ - uses : dtolnay/rust-toolchain@nightly
34
+ with :
35
+ components : rustfmt
36
+
37
+ - name : rustfmt
38
+ run : cargo fmt -- --check
39
+ working-directory : server
40
+
27
41
test-versions :
28
42
name : Server CI
29
43
runs-on : ubuntu-latest
@@ -32,10 +46,12 @@ jobs:
32
46
rust : [stable, beta]
33
47
steps :
34
48
- uses : actions/checkout@v4
49
+
35
50
- uses : dtolnay/rust-toolchain@master
36
51
with :
37
52
toolchain : ${{ matrix.rust }}
38
- components : clippy, rustfmt
53
+ components : clippy
54
+
39
55
- uses : Swatinem/rust-cache@v2
40
56
with :
41
57
workspaces : " server -> target"
47
63
48
64
- uses : taiki-e/install-action@nextest
49
65
50
- - name : rustfmt
51
- run : cargo fmt -- --check
52
- working-directory : server
53
-
54
66
- name : Build
55
67
run : cargo test --all-features --no-run --locked
56
68
working-directory : server
You can’t perform that action at this time.
0 commit comments