File tree Expand file tree Collapse file tree 2 files changed +18
-3
lines changed Expand file tree Collapse file tree 2 files changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,17 @@ on: [push, pull_request]
3
3
name : Continuous integration
4
4
5
5
jobs :
6
+ Prepare :
7
+ runs-on : ubuntu-24.04
8
+ outputs :
9
+ nightly_version : ${{ steps.read_toolchain.outputs.nightly_version }}
10
+ steps :
11
+ - name : " Checkout repo"
12
+ uses : actions/checkout@v4
13
+ - name : " Read nightly version"
14
+ id : read_toolchain
15
+ run : echo "nightly_version=$(cat nightly-version)" >> $GITHUB_OUTPUT
16
+
6
17
Fuzz :
7
18
name : Fuzz
8
19
runs-on : ubuntu-latest
29
40
30
41
Nightly :
31
42
name : Nightly - Bench + Docs + Fmt
43
+ needs : Prepare
32
44
runs-on : ubuntu-latest
33
45
steps :
34
46
- name : Checkout Crate
37
49
uses : actions-rs/toolchain@v1
38
50
with :
39
51
profile : minimal
40
- toolchain : nightly
52
+ toolchain : ${{ needs.Prepare.outputs.nightly_version }}
41
53
override : true
42
54
- name : Running benchmarks
43
55
env :
@@ -55,13 +67,14 @@ jobs:
55
67
56
68
Tests :
57
69
name : Tests
70
+ needs : Prepare
58
71
runs-on : ubuntu-latest
59
72
strategy :
60
73
matrix :
61
74
include :
62
75
- rust : stable
63
76
- rust : beta
64
- - rust : nightly
77
+ - rust : ${{ needs.Prepare.outputs.nightly_version }}
65
78
- rust : 1.41.1
66
79
- rust : 1.47
67
80
DO_NO_STD : true
81
94
run : ./contrib/test.sh
82
95
83
96
Embedded :
97
+ needs : Prepare
84
98
runs-on : ubuntu-latest
85
99
steps :
86
100
- name : Checkout
91
105
uses : actions-rs/toolchain@v1
92
106
with :
93
107
profile : minimal
94
- toolchain : nightly
108
+ toolchain : ${{ needs.Prepare.outputs.nightly_version }}
95
109
override : true
96
110
components : rust-src
97
111
target : thumbv7m-none-eabi
Original file line number Diff line number Diff line change
1
+ nightly-2025-06-20
You can’t perform that action at this time.
0 commit comments