File tree 1 file changed +2
-14
lines changed
1 file changed +2
-14
lines changed Original file line number Diff line number Diff line change 17
17
uses : dtolnay/.github/.github/workflows/pre_ci.yml@master
18
18
19
19
test :
20
- name : Test
21
- needs : pre_ci
22
- if : needs.pre_ci.outputs.continue
23
- runs-on : ubuntu-latest
24
- timeout-minutes : 45
25
- steps :
26
- - uses : actions/checkout@v4
27
- - uses : dtolnay/rust-toolchain@nightly
28
- - name : Enable type layout randomization
29
- run : echo RUSTFLAGS=${RUSTFLAGS}\ -Zrandomize-layout >> $GITHUB_ENV
30
- - run : cargo run -- expand --manifest-path tests/Cargo.toml > expand.rs
31
- - run : diff tests/lib.expand.rs expand.rs
32
-
33
- build :
34
20
name : ${{matrix.name || format('Rust {0}', matrix.rust)}}
35
21
needs : pre_ci
36
22
if : needs.pre_ci.outputs.continue
66
52
env :
67
53
RUSTFLAGS : ${{env.RUSTFLAGS}} ${{matrix.rust == 'nightly' && '--cfg exhaustive' || ''}}
68
54
if : matrix.os == 'ubuntu' && matrix.rust == 'nightly'
55
+ - run : cargo run -- expand --manifest-path tests/Cargo.toml > expand.rs && diff tests/lib.expand.rs expand.rs
56
+ if : startsWith(matrix.rust, 'nightly')
69
57
70
58
clippy :
71
59
name : Clippy
You can’t perform that action at this time.
0 commit comments