From d2784173001b4335c00269cc9b8e3a2d8dcd69eb Mon Sep 17 00:00:00 2001 From: Pascal Seitz Date: Mon, 4 Jul 2022 13:22:04 +0800 Subject: [PATCH] move build step down --- .github/workflows/test.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5e1833dc5..01af35195 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,8 +16,6 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Build - run: cargo build --verbose --workspace - name: Install latest nightly to test also against unstable feature flag uses: actions-rs/toolchain@v1 with: @@ -25,13 +23,16 @@ jobs: override: true components: rustfmt - - name: Install latest nightly to test also against unstable feature flag + - name: Install stable uses: actions-rs/toolchain@v1 with: - toolchain: "1.62" + toolchain: stable override: true components: rustfmt, clippy + - name: Build + run: cargo build --verbose --workspace + - name: Run tests run: cargo +stable test --features mmap,brotli-compression,lz4-compression,snappy-compression,zstd-compression,failpoints --verbose --workspace