Skip to content

Commit c0cd489

Browse files
committed
fix: concat jobs
1 parent 3662de7 commit c0cd489

File tree

1 file changed

+3
-30
lines changed

1 file changed

+3
-30
lines changed
+3-30
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Cargo
1+
name: cargo
22

33
on:
44
push:
@@ -14,8 +14,8 @@ env:
1414
CARGO_TERM_COLOR: always
1515

1616
jobs:
17-
build:
18-
name: Build (stable)
17+
build_and_test:
18+
name: build and test
1919
runs-on: ubuntu-latest
2020
strategy:
2121
matrix:
@@ -31,32 +31,5 @@ jobs:
3131
- name: Build Project
3232
run: cargo build --manifest-path apps/server/Cargo.toml --verbose
3333

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-
6134
- name: Run Tests
6235
run: cargo test --manifest-path apps/server/Cargo.toml --verbose -- --nocapture

0 commit comments

Comments
 (0)