From f6508f290cd409362e399a8ee4d483f53d5dcc57 Mon Sep 17 00:00:00 2001 From: Yuki Okushi Date: Wed, 25 May 2022 22:07:31 +0900 Subject: [PATCH] Do not run tests on MSRV (#250) --- .cargo/config.toml | 2 +- .github/workflows/ci-master.yml | 12 ++++++------ .github/workflows/ci.yml | 14 +++++++------- .github/workflows/coverage.yml | 2 +- .github/workflows/lint.yml | 4 ++-- .github/workflows/upload-doc.yml | 2 +- 6 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index 460e71a7c..51dfe98ab 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,7 +1,7 @@ [alias] lint = "clippy --workspace --tests --examples --bins -- -Dclippy::todo" ci-min = "hack check --workspace --no-default-features" -ci-check-min-tests = "hack check --workspace --no-default-features --tests --examples" +ci-check-min-examples = "hack check --workspace --no-default-features --examples" ci-check = "check --workspace --tests --examples --bins" ci-test = "test --workspace --lib --tests --all-features --examples --bins --no-fail-fast" ci-doctest = "test --workspace --doc --all-features --no-fail-fast" diff --git a/.github/workflows/ci-master.yml b/.github/workflows/ci-master.yml index be1ac398f..995a7310b 100644 --- a/.github/workflows/ci-master.yml +++ b/.github/workflows/ci-master.yml @@ -25,7 +25,7 @@ jobs: options: --entrypoint redis-server steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install ${{ matrix.version }} uses: actions-rs/toolchain@v1 @@ -51,9 +51,9 @@ jobs: uses: actions-rs/cargo@v1 with: { command: ci-min } - - name: check minimal + tests + - name: check minimal + examples uses: actions-rs/cargo@v1 - with: { command: ci-check-min-tests } + with: { command: ci-check-min-examples } - name: check default uses: actions-rs/cargo@v1 @@ -83,7 +83,7 @@ jobs: runs-on: ${{ matrix.target.os }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install ${{ matrix.version }} uses: actions-rs/toolchain@v1 @@ -109,9 +109,9 @@ jobs: uses: actions-rs/cargo@v1 with: { command: ci-min } - - name: check minimal + tests + - name: check minimal + examples uses: actions-rs/cargo@v1 - with: { command: ci-check-min-tests } + with: { command: ci-check-min-examples } - name: check default uses: actions-rs/cargo@v1 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 858d44b2b..da39918c0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,7 +33,7 @@ jobs: --entrypoint redis-server steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install ${{ matrix.version }} uses: actions-rs/toolchain@v1 @@ -59,9 +59,9 @@ jobs: uses: actions-rs/cargo@v1 with: { command: ci-min } - - name: check minimal + tests + - name: check minimal + examples uses: actions-rs/cargo@v1 - with: { command: ci-check-min-tests } + with: { command: ci-check-min-examples } - name: check default uses: actions-rs/cargo@v1 @@ -92,7 +92,7 @@ jobs: runs-on: ${{ matrix.target.os }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install ${{ matrix.version }} uses: actions-rs/toolchain@v1 @@ -118,9 +118,9 @@ jobs: uses: actions-rs/cargo@v1 with: { command: ci-min } - - name: check minimal + tests + - name: check minimal + examples uses: actions-rs/cargo@v1 - with: { command: ci-check-min-tests } + with: { command: ci-check-min-examples } - name: check default uses: actions-rs/cargo@v1 @@ -145,7 +145,7 @@ jobs: name: doc tests runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install Rust (nightly) uses: actions-rs/toolchain@v1 diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 758e98fb3..2d8ec2d4c 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -18,7 +18,7 @@ jobs: options: --entrypoint redis-server steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install stable uses: actions-rs/toolchain@v1 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 01e051ca1..ec65be585 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -8,7 +8,7 @@ jobs: fmt: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install Rust uses: actions-rs/toolchain@v1 @@ -24,7 +24,7 @@ jobs: clippy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install Rust uses: actions-rs/toolchain@v1 diff --git a/.github/workflows/upload-doc.yml b/.github/workflows/upload-doc.yml index dd62f3955..bae24c567 100644 --- a/.github/workflows/upload-doc.yml +++ b/.github/workflows/upload-doc.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install Rust uses: actions-rs/toolchain@v1