forked from extendr/extendr
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (36 loc) · 834 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
37
38
39
name: Check MSRV
on:
push:
branches:
- master
paths:
- "**.rs"
- "**/Cargo.toml"
pull_request:
branches:
- master
paths:
- "**.rs"
- "**/Cargo.toml"
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
test-min-rust-version:
# PowerShell core is available on all platforms and can be used to unify scripts
defaults:
run:
shell: pwsh
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: baptiste0928/cargo-install@v3
with:
crate: cargo-msrv
- name: Verify minimum rust version
run: |
. ./ci-cargo.ps1
ci-cargo msrv --path extendr-api/ verify -ActionName "Verify Rust MSRV"