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:
parent
c4c0680a6e
commit
a0337d7851
2
.github/workflows/linux.yml
vendored
2
.github/workflows/linux.yml
vendored
@ -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
43
.github/workflows/msrv.yml
vendored
Normal 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
|
@ -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
|
||||
|
@ -10,6 +10,8 @@
|
||||
|
||||
> Protobuf support for actix-web framework.
|
||||
|
||||
* Minimum supported Rust version: 1.39.0 or later
|
||||
|
||||
## Example
|
||||
|
||||
```rust,ignore
|
||||
|
Loading…
Reference in New Issue
Block a user