Skip to content

Commit

Permalink
Fix CI job for MSRV and also run tests with MSRV.
Browse files Browse the repository at this point in the history
  • Loading branch information
de-vri-es committed Mar 4, 2024
1 parent e21eda0 commit 2661d12
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ on:
push: { branches: "main" }
pull_request: { branches: "*" }

env:
MSRV: 1.65.0

jobs:
nightly:
name: Build and test on nightly with all features
Expand Down Expand Up @@ -63,14 +60,19 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@master
- name: Install latest stable
- name: Install MSRV toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: $MSRV
toolchain: 1.65.0
override: true
- name: Build
uses: actions-rs/cargo@v1
with:
command: build
args: --all-features --color=always
- name: Test
uses: actions-rs/cargo@v1
with:
command: test
args: --release --color=always

0 comments on commit 2661d12

Please sign in to comment.