Skip to content

Add github workflow step to verify MSRV #170

Add github workflow step to verify MSRV

Add github workflow step to verify MSRV #170

Workflow file for this run

name: Rust
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Build no_std
run: cargo build --no-default-features
msrv-all:

Check failure on line 24 in .github/workflows/rust.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/rust.yml

Invalid workflow file

You have an error in your yaml syntax on line 24
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install MSRV
run: rustup update 1.62.1 && rustup default 1.62.1
- name: Test
run: cargo test --verbose
- name: Build no_std
run: cargo build --no-default-features