Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lock a dependency to ensure MSRV of 1.67.1 #247

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions .github/workflows/msrv.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Check MSRV
on:
push:
branches:
- master
paths:
- "**.rs"
- "Cargo.toml"
- "**/Cargo.toml"
pull_request:
branches:
- master
paths:
- "**.rs"
- "Cargo.toml"
- "**/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 verify -ActionName "Verify Rust MSRV"
Loading
Loading