Merge pull request #673 from teloxide/actually-dont-build-examples-with-msrv-on-ci

**Actually** don't build examples with MSRV on CI

Former-commit-id: 68f9ccfcb1
This commit is contained in:
Waffle Maybe 2022-07-04 19:42:49 +04:00 committed by GitHub
commit cb873cbc3e

View file

@ -102,11 +102,12 @@ jobs:
- name: Cache Dependencies
uses: Swatinem/rust-cache@v1
# NB. Don't test (build) examples so we can use non-msrv features in them (--tests/--doc)
- name: Compile
uses: actions-rs/cargo@v1
with:
command: test
args: --no-run --verbose ${{ matrix.features }}
args: --tests --no-run --verbose ${{ matrix.features }}
- name: Setup redis
run: |
@ -115,7 +116,6 @@ jobs:
redis-server --port 7778 > /dev/null &
redis-server --port 7779 > /dev/null &
# NB. Don't test (build) examples so we can use non-msrv features in them
- name: Test unit & integration tests
uses: actions-rs/cargo@v1
with: