Skip to content

Commit c285e0f

Browse files
authored
Install master toolchain
1 parent 4a261de commit c285e0f

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

.github/workflows/integration.yml

+15-2
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,24 @@ on:
1313
- '**.md'
1414

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

1933
steps:
20-
- uses: actions/checkout@v1
2134
- name: Build
2235
run: cargo build --features integration
2336

@@ -42,7 +55,7 @@ jobs:
4255
- 'rust-lang/log'
4356
- 'chronotope/chrono'
4457

45-
needs: build
58+
needs: [toolchain_setup, build]
4659
runs-on: ubuntu-latest
4760

4861
steps:

0 commit comments

Comments
 (0)