-
-
Notifications
You must be signed in to change notification settings - Fork 314
36 lines (34 loc) · 952 Bytes
/
msrv.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Minimum Supported Rust Version
on:
push:
branches:
- main
- 'run-ci/**'
- '**/run-ci/**'
tags-ignore:
- '*'
pull_request:
branches:
- main
workflow_dispatch:
jobs:
check-msrv:
name: cargo check MSRV
strategy:
matrix:
os:
- windows-2022
- ubuntu-latest
runs-on: ${{ matrix.os }}
env:
# dictated by `firefox` to support the `helix` editor, but now probably effectively be controlled by `jiff`, which also aligns with `regex`.
# IMPORTANT: adjust etc/msrv-badge.svg as well
rust_version: 1.74.0
steps:
- uses: actions/checkout@v4
- uses: extractions/setup-just@v2
- run: |
rustup toolchain install ${{ env.rust_version }} nightly --profile minimal --no-self-update
rustup default ${{ env.rust_version }}
cargo +nightly update -Zminimal-versions
- run: just ci-check-msrv