1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-27 17:22:57 +01:00

Run CI with MSRV

This commit is contained in:
Yuki Okushi 2020-01-30 16:09:05 +09:00
parent c4c0680a6e
commit a0337d7851
4 changed files with 47 additions and 2 deletions

View File

@ -7,7 +7,7 @@ jobs:
strategy:
fail-fast: false
matrix:
version: # FIXME: Add MSRV for each crate
version:
- stable
- nightly

43
.github/workflows/msrv.yml vendored Normal file
View File

@ -0,0 +1,43 @@
name: CI (Linux, MSRV)
on: [push, pull_request]
jobs:
build_and_test:
strategy:
fail-fast: false
matrix:
version:
- 1.39.0
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@master
- name: Install ${{ matrix.version }}
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.version }}-x86_64-unknown-linux-gnu
profile: minimal
override: true
- name: tests (1.39.0)
if: matrix.version == '1.39.0'
uses: actions-rs/cargo@v1
timeout-minutes: 40
with:
command: test
args: --package=actix-cors
--package=actix-protobuf
--package=actix-redis
--package=actix-web-httpauth
--all-features --no-fail-fast -- --nocapture

View File

@ -16,4 +16,4 @@
* [API Documentation](https://docs.rs/actix-cors/)
* [Chat on gitter](https://gitter.im/actix/actix)
* Cargo package: [actix-cors](https://crates.io/crates/actix-cors)
* Minimum supported Rust version: 1.34 or later
* Minimum supported Rust version: 1.39.0 or later

View File

@ -10,6 +10,8 @@
> Protobuf support for actix-web framework.
* Minimum supported Rust version: 1.39.0 or later
## Example
```rust,ignore