ndarray: rewrite to use AsTypedSlice trait-impl #82
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
with: | |
submodules: 'true' | |
- 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" |