Skip to content

Commit

Permalink
ci: Add a CI workflow to verify the minimum supported Rust version
Browse files Browse the repository at this point in the history
  • Loading branch information
andybalaam authored and bnjbvr committed Mar 18, 2024
1 parent 9d28193 commit b2c96b7
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/msrv.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Rust version

on:
workflow_dispatch:
push:
branches: [main]
pull_request:
branches: [main]
types:
- opened
- reopened
- synchronize
- ready_for_review

jobs:
msrv:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: taiki-e/install-action@cargo-hack
- run: cargo hack check --rust-version --workspace --all-targets --ignore-private

0 comments on commit b2c96b7

Please sign in to comment.