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