1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-24 07:53:00 +01:00
actix-extras/.github/workflows/msrv.yml

44 lines
917 B
YAML
Raw Normal View History

2020-01-30 08:09:05 +01:00
name: CI (Linux, MSRV)
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches:
- master
2020-01-30 08:09:05 +01:00
jobs:
build_and_test:
strategy:
fail-fast: false
matrix:
version:
2021-03-21 23:50:26 +01:00
- 1.46.0
2020-01-30 08:09:05 +01:00
name: ${{ matrix.version }} - x86_64-unknown-linux-gnu
runs-on: ubuntu-latest
services:
redis:
image: redis:5.0.7
ports:
- 6379:6379
options: --entrypoint redis-server
steps:
- uses: actions/checkout@main
2020-01-30 08:09:05 +01:00
- name: Install ${{ matrix.version }}
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.version }}-x86_64-unknown-linux-gnu
profile: minimal
override: true
- name: tests
2020-01-30 08:09:05 +01:00
uses: actions-rs/cargo@v1
timeout-minutes: 40
with:
command: test
args: --workspace --all-features --no-fail-fast -- --nocapture