Skip to content

ci(deps): bump crate-ci/typos from 1.48.0 to 1.49.0 in the github-actions group #217

ci(deps): bump crate-ci/typos from 1.48.0 to 1.49.0 in the github-actions group

ci(deps): bump crate-ci/typos from 1.48.0 to 1.49.0 in the github-actions group #217

Workflow file for this run

name: MSRV
# This workflow ensures that the MSRV is always met.
permissions:
contents: read
on:
push:
branches: ["main"]
pull_request:
concurrency:
group: msrv-${{ github.ref }}
cancel-in-progress: true
jobs:
msrv:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Read MSRV from Cargo.toml
id: msrv
run: |
version=$(cargo metadata --no-deps --format-version 1 | jq -r '.packages[0].rust_version')
echo "version=$version" >> "$GITHUB_OUTPUT"
- name: Install MSRV toolchain
uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1.17.0
with:
toolchain: ${{ steps.msrv.outputs.version }}
- name: Ensure Cargo.lock
env:
MSRV: ${{ steps.msrv.outputs.version }}
run: test -f Cargo.lock || cargo "+$MSRV" generate-lockfile
- name: Check
env:
MSRV: ${{ steps.msrv.outputs.version }}
run: cargo "+$MSRV" check --all-features --locked