File tree 1 file changed +3
-30
lines changed
1 file changed +3
-30
lines changed Original file line number Diff line number Diff line change 1
- name : Cargo
1
+ name : cargo
2
2
3
3
on :
4
4
push :
14
14
CARGO_TERM_COLOR : always
15
15
16
16
jobs :
17
- build :
18
- name : Build (stable)
17
+ build_and_test :
18
+ name : build and test
19
19
runs-on : ubuntu-latest
20
20
strategy :
21
21
matrix :
31
31
- name : Build Project
32
32
run : cargo build --manifest-path apps/server/Cargo.toml --verbose
33
33
34
- - name : Upload Build Artifacts
35
- uses : actions/upload-artifact@v3
36
- with :
37
- name : build-artifacts
38
- path : target
39
-
40
- test :
41
- name : Test (stable)
42
- runs-on : ubuntu-latest
43
- needs : build
44
- strategy :
45
- matrix :
46
- toolchain :
47
- - stable
48
- steps :
49
- - name : Checkout Code
50
- uses : actions/checkout@v4
51
-
52
- - name : Install Rust Toolchain
53
- run : rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
54
-
55
- - name : Download Build Artifacts
56
- uses : actions/download-artifact@v3
57
- with :
58
- name : build-artifacts
59
- path : target
60
-
61
34
- name : Run Tests
62
35
run : cargo test --manifest-path apps/server/Cargo.toml --verbose -- --nocapture
You can’t perform that action at this time.
0 commit comments