Skip to content

Commit 0db62fa

Browse files
authored
Keep target dir
1 parent b767c40 commit 0db62fa

File tree

1 file changed

+22
-17
lines changed

1 file changed

+22
-17
lines changed

.github/workflows/integration.yml

+22-17
Original file line numberDiff line numberDiff line change
@@ -13,28 +13,27 @@ on:
1313
- '**.md'
1414

1515
jobs:
16-
toolchain_setup:
17-
runs-on: ubuntu-latest
18-
19-
steps:
20-
- name: Checkout
21-
uses: actions/[email protected]
22-
- name: rust-toolchain
23-
uses: actions-rs/[email protected]
24-
with:
25-
toolchain: nightly
26-
target: x86_64-unknown-linux-gnu
27-
profile: minimal
28-
- name: Master Toolchain Setup
29-
run: bash setup-toolchain.sh
30-
3116
build:
32-
needs: toolchain_setup
3317
runs-on: ubuntu-latest
3418

3519
steps:
20+
- name: Checkout
21+
uses: actions/[email protected]
22+
- name: rust-toolchain
23+
uses: actions-rs/[email protected]
24+
with:
25+
toolchain: nightly
26+
target: x86_64-unknown-linux-gnu
27+
profile: minimal
28+
- name: Master Toolchain Setup
29+
run: bash setup-toolchain.sh
3630
- name: Build
3731
run: cargo build --features integration
32+
- name: Upload traget/
33+
uses: actions/[email protected]
34+
with:
35+
name: target
36+
path: target
3837

3938
test:
4039
strategy:
@@ -57,10 +56,16 @@ jobs:
5756
- 'rust-lang/log'
5857
- 'chronotope/chrono'
5958

60-
needs: [toolchain_setup, build]
59+
needs: build
6160
runs-on: ubuntu-latest
6261

6362
steps:
63+
- name: Checkout
64+
uses: actions/[email protected]
65+
- name: Download target/
66+
uses: actions/[email protected]
67+
with:
68+
name: target
6469
- name: Test ${{ matrix.integration }}
6570
run: cargo test --test integration --features integration
6671
env:

0 commit comments

Comments
 (0)