We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd45be1 commit 0bb013eCopy full SHA for 0bb013e
.github/workflows/ci.yml
@@ -24,10 +24,7 @@ jobs:
24
strategy:
25
fail-fast: false
26
matrix:
27
- rust: [beta, stable, 1.56.0]
28
- include:
29
- - rust: nightly
30
- rustflags: --cfg async_trait_nightly_testing
+ rust: [nightly, beta, stable, 1.56.0]
31
timeout-minutes: 45
32
steps:
33
- uses: actions/checkout@v3
@@ -37,9 +34,10 @@ jobs:
37
34
- name: Enable type layout randomization
38
35
run: echo RUSTFLAGS=${RUSTFLAGS}\ -Zrandomize-layout >> $GITHUB_ENV
39
36
if: matrix.rust == 'nightly'
+ - name: Enable nightly-only tests
+ run: echo RUSTFLAGS=${RUSTFLAGS}\ --cfg=async_trait_nightly_testing >> $GITHUB_ENV
+ if: matrix.rust == 'nightly'
40
- run: cargo test
41
- env:
42
- RUSTFLAGS: ${{matrix.rustflags}} ${{env.RUSTFLAGS}}
43
44
msrv:
45
name: Rust 1.39.0
0 commit comments