forked from GitoxideLabs/gitoxide
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (28 loc) · 839 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
name: Minimum Supported Rust Version
on:
# Trigger the workflow on push to master or any pull request
# Ignore all tags
push:
branches: [ main ]
tags-ignore: [ '*' ]
pull_request:
branches: [ main ]
jobs:
rustfmt:
name: cargo check MSRV
strategy:
matrix:
os:
- windows-2019
- ubuntu-latest
runs-on: ${{ matrix.os }}
env:
# dictated by `firefox` to support the `helix` editor, but now driven by the `time` crate. IMPORTANT: adjust etc/msrv-badge.svg as well
rust_version: 1.67.0
steps:
- uses: actions/checkout@v4
- uses: extractions/setup-just@v2
- run: |
rustup toolchain install ${{ env.rust_version }} --profile minimal --no-self-update
rustup default ${{ env.rust_version }}
- run: just ci-check-msrv