Skip to content

Commit

Permalink
CI: Run linters on MSRV
Browse files Browse the repository at this point in the history
  • Loading branch information
jirutka committed Dec 5, 2024
1 parent 03ed3ad commit cf8438a
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ on:
- push
- pull_request

env:
MSRV: '1.70'

jobs:
test:
name: Run tests on Rust ${{ matrix.toolchain }} (${{ matrix.os }})
Expand All @@ -12,7 +15,7 @@ jobs:
matrix:
toolchain:
- stable
- '1.70'
- '1.70' # MSRV
- nightly
os:
- ubuntu
Expand All @@ -21,7 +24,7 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Install Rust stable
- name: Install Rust ${{ matrix.toolchain }}
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
Expand Down Expand Up @@ -57,10 +60,10 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Install Rust stable
- name: Install Rust ${{ env.MSRV }}
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
toolchain: ${{ env.MSRV }}
components: rustfmt, clippy

- name: Set up caching
Expand Down

0 comments on commit cf8438a

Please sign in to comment.