Skip to content

Commit

Permalink
Test MSRV without redis
Browse files Browse the repository at this point in the history
  • Loading branch information
djc committed Oct 17, 2022
1 parent b53c61e commit 3621972
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 6 deletions.
25 changes: 20 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,12 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
rust: [stable, beta, 1.58.0]
rust: [stable, beta]
exclude:
- os: macos-latest
rust: beta
- os: windows-latest
rust: beta
- os: macos-latest
rust: 1.58.0
- os: windows-latest
rust: 1.58.0

runs-on: ${{ matrix.os }}

Expand All @@ -41,6 +37,25 @@ jobs:
command: test
args: --workspace

msrv:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.58.0
override: true
- uses: actions-rs/cargo@v1
with:
command: build
args: -p bb8 --all-targets
- uses: actions-rs/cargo@v1
with:
command: test
args: -p bb8

lint:
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion bb8/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ repository = "https://github.com/djc/bb8"
edition = "2021"
workspace = ".."
readme = "../README.md"
rust-version = "1.56"
rust-version = "1.57"

[dependencies]
async-trait = "0.1"
Expand Down

0 comments on commit 3621972

Please sign in to comment.